Guest User

Untitled

a guest
Feb 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. gettimeofday(&server_start);
  2.  
  3. int send = 0;
  4.  
  5. // send same content back to the client ("echo")
  6. if(send = sendto(sock, &server_start, sizeof(server_start), 0, (struct sockaddr *)&client_address,
  7. sizeof(client_address))<0){
  8.  
  9. printf("failed: %dn", errno);
  10. return 1;
  11. };
Add Comment
Please, Sign In to add comment