socket()
socket = socket(af, type, protocol)
int socket, af, type protocol;
socket
0 30
-1 socket
errno
af
AF_INET
AF_INET
sockaddr_in
type SOCK_STREAM
SOCK_STREAM
protocol 0
tcp