List of constants in sockets.inc

Socket connection type (TCP/UDP)
Socket flags
Error reporting