Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gettimeofday(&server_start);
- int send = 0;
- // send same content back to the client ("echo")
- if(send = sendto(sock, &server_start, sizeof(server_start), 0, (struct sockaddr *)&client_address,
- sizeof(client_address))<0){
- printf("failed: %dn", errno);
- return 1;
- };
Add Comment
Please, Sign In to add comment