Re: write vs send (& read vs recv)

From: JustSomeGuy (nope_at_nottelling.com)
Date: 11/26/03

  • Next message: Peter C. Tribble: "Re: How can I measure the network load ?"
    Date: Tue, 25 Nov 2003 20:50:22 -0700
    
    

    "Nimmi Srivastav" <nimmi_srivastav@yahoo.com> wrote in message
    news:8b0c42d.0311251939.dbb9cf0@posting.google.com...
    > Hi,
    >
    > I have a very simple socket program in which a TCP client sends a
    > message to a TCP server. For some reason, when I use the write()
    > library call, the server does not receive any message/data from the
    > client. However, if I substitute the write() library call with the
    > send() library call, everything works fine. I haven't tried the
    > return path yet, but I suspect that I'll have to use recv() rather
    > than read().
    >
    > Does anyone want to guess what might be happening? What's the
    > difference between write and send (& read and recv) for TCP sockets?
    >
    > Regards,
    > Nimmi

    I'm having similar problems.
    What operating system/compiler etc.. are you using?


  • Next message: Peter C. Tribble: "Re: How can I measure the network load ?"

    Relevant Pages