Will Socket Send block receive?

  • Thread starter Thread starter chrisben
  • Start date Start date
C

chrisben

Hi,

My understanding is that for the same socket, assuming send and receive run
at two different threads, I have to use BeginReceive to avoid the blocking on
send part. However, I can jsut use Send without worrying about any threading
issue in case send and beginreceive happens at the same time on the socket?
Am I correct on this?

Thanks

Chris
 
Thanks. I Used middleware too much and forgot some basics on socket. So if I
mix synchronous receive and send, but put each on different thread, will
send or receive affect other anyhow? I see some strange socket buffer errors
in application and trying to dig into it.

Chris
 

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

Back
Top