Does "send" block after a successfuly "select" ?



Hi,

Suppose I use "select" to wait many SOCKETs for writing, then after
select return, and I got some SOCKETs which are ready for writing. Then
if I use send() to send a big mount of bytes, does send() will block on
it? If so, is it necessary to use a separate send() thread for every
SOCKET? I don't want to use WSAxxxSelect() because of portablity.


Thank you very much for your help.

.



Relevant Pages

  • Re: Sockets and Forwarding On Java
    ... writing non-text characters from/to network sockets? ... sockets, and what came through one had to be copied over to the other, I ... stream while another one is writing to its input stream -- or with ... Linux when I tried that. ...
    (comp.lang.java.help)
  • Re: Update service without restarting it
    ... If it was me I would talk to the service using sockets, instead of writing ... i am writing some command into the file and my service is ... without restarting it? ...
    (microsoft.public.vc.mfc)
  • How to listen on two sockets in the same application
    ... I'm writing a server program that will listen on both IPv4 and IPv6. ... I'm creating two sockets for the two different address families ... how do I accomplish this? ...
    (comp.unix.programmer)
  • Re: Advice on Writing my own socket code vs using MFC built in classes
    ... "justmehere" wrote in message ... of writing the sockets programming part of it. ... I have read somewhere that using MFC may be more difficult. ... CAsyncSocket is reliable and offers a few conveniences over writing your own socket code. ...
    (microsoft.public.vc.mfc)
  • Re: Sockets and Forwarding On Java
    ... writing non-text characters from/to network sockets? ... sockets, and what came through one had to be copied over to the other, I ... stream while another one is writing to its input stream -- or with ... BTW I'd consider using a simple generic proxy like netcat, ...
    (comp.lang.java.help)

Loading