Portability (1) Differences between IPv6 stacks bind(2) ordering constraints Handling of port number conflicts Supported functionalities Advanced API? Socket options? (get/setsockopt) Try to avoid assuming kernel behavior Take a safer side Use GNU autoconf Probe systems supported functionalities at compile time