LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-07-2008, 06:21 PM   #1
shachter
Member
 
Registered: Jul 2007
Posts: 47

Rep: Reputation: 0
bind() is failing with errno=EADDRNOTAVAIL (99); the man page forbids this


I have a tiny C program in which a bind() system call is failing
with errno=99, which is EADDRNOTAVAIL according to asm-generic/errno.h.
The bind(2) manual page, however, only allows errno values of
EACCES, EBADF, EINVAL, and ENOTSOCK for Internet-domain sockets.
What's going on? I'm running SuSe 10.0, though that shouldn't be relevant.
I don't want to know why the bind() system call is failing, incidentally
-- I know why it is failing -- I want to know why it is setting errno to
a value undocumented in the manual page.

Please send replies to jay at m5.chicago.il.us, or post them here, or both.
Thank you in advance.
 
Old 05-09-2008, 03:20 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You are trying to bind to an address that does not exist.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get out of a man page? christianunix Linux - Newbie 4 10-17-2007 08:37 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
Is there a man page on how to use man page? jdruin Linux - Software 2 10-30-2004 09:29 AM
getting out of a man page! naijaguy Linux - Newbie 2 08-13-2004 09:28 PM
man page? chandan Linux - Newbie 1 07-16-2003 07:31 PM


All times are GMT -5. The time now is 06:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration