Ability to send and receive at the same time?

This is a discussion on Ability to send and receive at the same time? within the C Programming forums, part of the General Programming Boards category; I have now a simple client program and a simple server program for sending string messages back and forth. At ...

  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, 09:13 AM
  2. send and receive byte does not match
    By saipkjai in forum Networking/Device Communication
    Replies: 1
    Last Post: 02-09-2008, 12: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, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21