By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,385 Members | 1,737 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,385 IT Pros & Developers. It's quick & easy.

no recv

P: n/a
Hi

Pls ignore- if this cannot be done through Programming .
I have one Client Server TCP Socket Application [where Server is
external]

socket(AF_INET..)

Client sends the packet but donot wants to recieve, where as Server
sends for every recive packet.

The requirement is to send max packet to the server.

Can we clear the buffer without calling recv()/select/poll or tell
server TCP socket that we are just in sending mode.

Is there any way to do so with programing or system's configurations.
Thanks
Paras

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Paras Sharma <pa******@cisco.com> wrote:
Pls ignore- if this cannot be done through Programming .


It's quite possible that it can be done, but it cannot be done in ISO C.
You're probably talking about a POSIX system, so ask again in
comp.unix.programmer - but for heaven's sake, at least read _their_ FAQ
before posting.

Richard
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.