Linux Today: Linux News On Internet Time.

More on LinuxToday

Connect Specification versus Man Page

Sep 24, 2007, 07:30 (0 Talkback[s])


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

"Ulrich Drepper noted a difference between the Linux connect(2) man page and the POSIX specification. The former states, 'connectionless sockets may dissolve the association by connecting to an address with the sa_family member of sockaddr set to AF_UNSPEC.' The latter reads, 'if address is a null address for the protocol, the socket's peer address shall be reset.' Ulrich explained that he preferred the description in the Linux man page, but the Linux kernel seems to actually follow the POSIX specification, 'is this functionality which got lost over time? Or is the man page wrong and this never was the case? Is this a worthwhile change...?'"

Complete Story

Related Stories: