Category Archives: Network Programming

Unix C Sockets

protocol family constants for socket function Family Description AF_INET IPv4 protocols AF_INET6 IPv6 protocols AF_LOCAL Unix domain protocols AF_ROUTE Routing sockets AF_KEY Key socket type of socket for socket function Type Description SOCK_STREAM stream socket SOCK_DGRAM datagram socket SOCK_RAW raw … Continue reading

Posted in C Programming, Network Programming | Leave a comment

Summary of getaddrinfo

getaddrinfo( ) actions and results based on hostname(s) and address families Easy and readable chart thats from the networking book “Unix Network Programming” by: W. Richard Stevens. Hostname specified by caller Address Family specified by caller Hostname string contains Result … Continue reading

Posted in C Programming, Network Programming | Leave a comment

TCP Local Ethernet communication – client – server Diagram

Posted in Network Programming | Leave a comment