81.4.11. API




THIS SECTION IS UNDER CONSTRUCTION




API sockets - de facto TCP/IP - connection-oriented connection-less stream ordered datagrams unordered datagrams SOCK_STREAM SOCK_DGRAM SOCK_RAW SOCK_PACKET



Main socket interface: socket bind listen accept connect select send recv sendto recvfrom sendmsg MSG_DONTROUTE MSG_OOB MSG_DONTWAIT recvmsg MSG_DONTWAIT MSG_OOB MSG_PEEK MSG_WAIT_ALL MSG_BCAST MSG_MCAST MSG_TRUNC MSG_CTRUNC gethostname setsockopt getsockopt SOL_SOCKET SO_BINDTODEVICE SO_BROADCAST SO_DONTROUTE SO_ERROR SO_KEEPALIVE SO_LINGER SO_OOBINLINE SO_PRIORITY SO_RCVBUF SO_REUSEADDR SO_RCVLOWAT SO_RCVTIMEO SO_REUSEPORT SO_SNDBUF SO_SNDLOWAT SO_SNDTIMEO SO_TYPE IPPROTO_IP IP_HDRINCL IP_OPTIONS IP_RECVDSTADDR IP_RECVIF IP_TOS IP_TTL IP_ADD_MEMBERSHIP IP_DROP_MEMBERSHIP IP_MULTICAST_IF IP_MULTICAST_LOOP IP_MULTICAST_TTL IPPROTO_TCP TCP_KEEPALIVE TCP_MAXRT TCP_MAXSEG TCP_NODELAY TCP_STDURG getsockname getperrname shutdown socketpair htons/htonl/ntohs/ntohl inet_addr inet_ntoa inet_ntop inet_pton getaddrinfo freeaddrinfo sockatmark sethostent gethostent endhostent gethostbyname gethostbyaddr getnameinfo setnetent getnetent endnetent getnetbyname getnetbyaddr setprotoent getprotoent endprotoent getprotobyname getprotobynumber setservent getservent endservent getservbyname getservbyport

Index Prev Next