LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   IPV6 socket bind error(99) (https://www.linuxquestions.org/questions/linux-kernel-70/ipv6-socket-bind-error-99-a-551850/)

praveenchebolu 05-06-2007 10:45 PM

IPV6 socket bind error(99)
 
Hi
I am using RedHat linux-2.4.21-40.EL with IPV6 enabled.
I have written a sample Client and Server program using the IPv6 compatible socket calls.
When I give the IPV6 address, i am getting the below error:

Socket bind Error (99): cannot assign requested address.

Can anyone help on this problem? why iam getting that error.

Waiting for the reply....

osor 05-07-2007 05:11 PM

First: you might get more help if you posted a short but complete listing of code that contains the error.

Second: Are you running the program as root?

Mara 05-09-2007 03:47 PM

Which port number are you using? Or you can test it yourself like osor suggest. Run the program as root. It it binds correctly, your normal user cannot bind to that port.

praveenchebolu 05-17-2007 04:50 AM

error:99
 
I am running as a ROOT.

Mara 05-17-2007 04:19 PM

Are you sure you're assigning a correct IPv6 address? Please show the code, if possible.


All times are GMT -5. The time now is 02:20 PM.