Thread: Ability to send and receive at the same time?

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    51

    Ability to send and receive at the same time?

    I have now a simple client program and a simple server program for sending string messages back and forth.

    At the minute I send something from the client to the server, the client will now wait until it has a reply, and visa versa. I want it to allow me to send a message, then another message without having to wait for a reply.

    From reading posts here and a tutorial it seems maybe I need to use select? But i'm not exactly sure.

    Would it be possible for someone to clarify for me if i'm correct to save me wasting time learning something incorrect.

    Thanks in advance.

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Search for sending asynchronously

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get RSSI value, send to sensor, sensor receive package, repackage it?
    By techissue2008 in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-04-2009, 10:13 AM
  2. send and receive byte does not match
    By saipkjai in forum Networking/Device Communication
    Replies: 1
    Last Post: 02-09-2008, 01:09 AM
  3. Replies: 3
    Last Post: 05-17-2007, 06:09 AM
  4. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  5. Send and receive through serial Port
    By overspray in forum C++ Programming
    Replies: 1
    Last Post: 07-21-2004, 04:15 PM