Struct Sockaddr

Some articles on struct:

AF INET - Client-server Example Using UDP - Server
... socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) struct sockaddr_in sa char buffer ssize_t recsize socklen_t fromlen memset( sa, 0, sizeof sa) sa.sin_family = AF_INET sa.sin_addr.s_addr = INADDR_ANY sa.sin_port = htons ... or other receive socket function) address struct of sending peer length of address struct of sending peer ...