Lines Matching full:server_addr
1038 struct sockaddr_in client_addr, server_addr;1079 server_addr.sin_family = AF_INET;1080 server_addr.sin_addr.s_addr = htonl(INADDR_ANY);1081 server_addr.sin_port = htons(port);1083 if (bind(main_sd, (struct sockaddr *) &server_addr, 1084 sizeof(server_addr) ) < 0) {