Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question Data loss in tcp socket communication

    Hi all,
    I have been using a server and multiple clients which use tcp socket to communicate.As the clients are multiple I am creating a new thread for each client to receive the data at the server .But I see the data which is successfully sent at the client is not received at the server.I am using the socket send() and recv() system calls .I have tried the TCP_DELAY to disable nagle algorithm and increased the buffer size,but it showed up nothing.I need the data completely at the server to implement some algorithms .Your help can be great.
    Thanks and regards,

  2. #2
    try running your application (both server and client) using "strace -f -e trace=network <app_name>" and see what you are seeing.. you may also want to get the ethernet trace (using ethereal or wireshark) to see what is on the wire.. hope it help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts