Searched refs:sock_server (Results 1 – 1 of 1) sorted by relevance
61 int server_download(SockInfo sock_server, SockInfo sock_client) { in server_download() argument66 if (bind(sock_server.fd, (struct sockaddr *)&server, sizeof(server)) < 0) { in server_download()70 listen(sock_server.fd, 3); in server_download()77 new_socket = accept(sock_server.fd, (struct sockaddr *)&client, in server_download()