LinuxQuestions.org
Review your favorite Linux distribution.
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: 93

Rep: Reputation: 2
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
getting out of a man page! naijaguy Linux - Newbie 11 04-10-2018 05:21 PM
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
man page? chandan Linux - Newbie 1 07-16-2003 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration