Searched refs:server_addr (Results 1 – 1 of 1) sorted by relevance
587 struct sockaddr_in server_addr = sockaddr_in(); in main() local588 server_addr.sin_family = AF_INET; in main()589 server_addr.sin_addr.s_addr = INADDR_ANY; in main()590 server_addr.sin_port = 0; in main()603 if (bind(listen_fd, reinterpret_cast<struct sockaddr *>(&server_addr), in main()604 sizeof(server_addr)) < 0) { in main()