Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

How to enable/disable NicheStack features ?

Hi,

I'm a beginner to NicheStack and networking.

Going through some documentation and code, now I know that NicheStack features can be controlled by modifying# defines in ipport.h file.

But is there any documentation stating which flags should be enabled for particular feature ?

For example for full DHCP support, define DHCP_SERVER and DHCP_CLIENT.

Thanks,

Sanjay

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi SanjayJ

    I'm a beginner too and looking for the same documentation. Did you find some?

    Thank you

    brunjak
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi brunjak,

    Unfortunately I did not.

    However, I might be able to help you in case you are looking for the thing which I am aware of. :-)

    -Sanjay
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi SanjayJ

    Thank you for your fast response. I only thought it would be nice to have some documentation. Until now I can work with the configuration which is done in the simple socket server application.

    Thank you

    Regards

    brunjak
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would start with the NIOS Eclipse IDE

    Open the system library properties of your project.

    Then press "Software Components ..."

    Select the Niche Stack and set the options as you need them.