I know a handle of tcp socket can not be used to write in different
threads at the same time.
but can a handle of udp socket ?(because it sends in an unit of an
entire packet, I think it can, right?)
Thanks for using the PRF.
In theory, this should work because UDP is an "atomic" protocol. In
practice, however, there might be bugs in some operating systems and
or OS versions that might make this fail in some situations, so I
could experiment carefully with Windows and Linux to see if they do
indeed work properly.
Take care,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.sc...@vanderbilt.edu