How to empty the recv buffer without recv() ?

D

deepak nayak

hi,
We have Primary / Secondary Client / Server architecture. The
server is supposed to receive data from Primary client but ignore the
Secondary Client data. I have to somehow ignore the Secondary Client's
data without wasting time on the recv() from Secondary Client.

Can anyone suggest how i go about achieving it ?

Thanks in advance,
Deepak Nayak
 
G

Guest

hi,
We have Primary / Secondary Client / Server architecture. The
server is supposed to receive data from Primary client but ignore the
Secondary Client data. I have to somehow ignore the Secondary Client's
data without wasting time on the recv() from Secondary Client.

There is no recv() or similar in standard C++, you will have to ask your
question in a forum discussing whatever libraries you are using to send
and receive data.
 
G

Guest

Please do not top-post, and do not quote signatures.
Can u suggest any such forum or group for the same ?

Sorry, but no. I do not even know what library or platform you are
using. If you are doing Windows programming then a win32 group might
help, if you are under Unix/Linux then a unix programming groups might help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top