Differences between version 3 and previous revision of EAFNOSUPPORT.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Tuesday, November 11, 2003 11:47:15 am | by JohnMcPherson | Revert |
Older page: | version 2 | Last edited on Thursday, August 21, 2003 12:14:28 pm | by JohnMcPherson | Revert |
@@ -1,7 +1,7 @@
!!!Address family not supported by protocol
-This is an error you get when you try and
connect(2) or bind(2) a socket to an address where that address doesn't make sense. For example trying to bind a socket created with PF_INET (Protocol Family Internet) to a AF_UNIX (Address Family Unix Domain Socket) address, it just doesn't make sense. Alternatively you forgot to fill in the sin_family or uin_family field in your address structure. Either way the programmer screwed up.
+This is an error you get when you try to
connect(2) or bind(2) a socket to an address where that address doesn't make sense. For example trying to bind a socket created with PF_INET (Protocol Family Internet) to a AF_UNIX (Address Family Unix Domain Socket) address, it just doesn't make sense. Alternatively you forgot to fill in the sin_family or uin_family field in your address structure. Either way the programmer screwed up.
This can also occur if the OperatingSystem does not support a particular protocol. For example:
$ ping6 ::1
ping6: socket: Address family not supported by protocol