Functions
socket(): Create socket descriptorbind(): Associate socket with a local IP address and portlisten(): Put connection-oriented socket in waiting modeaccept(): Wait for next connection from clientconnect(): Connect from client to serverread(),recv(),recvfrom(),recvmsg(): Read requestswrite(),send(),sendto(),sendmsg(): Write responseclose(): Close network connectionshutdown(): Close (half-close) network connectiongetsockopt(),setsockopt(): Get and change socket settings
Inspired by Stack Overflow