Socket Send and Receive Thread Safety

From: Nizar (Nizar_at_discussions.microsoft.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 08:33:09 -0800

Is it safe for one thread to call Socket.Receive and another to call
Socket.Send on the same Socket at the same time?

The documentation says that instance members are not guaranteed to be thread
safe, but I'm not sure whether this combination is or not.

I've also heard that the send and receive buffers are disparate and can be
accessed simultaneously.



Relevant Pages

  • Re: ManualResetEvent not thread safe??
    ... This type is safe for multithreaded operations. ... Any instance members are not guaranteed to ... > Is a general statement placed in the documentation for ALL ...
    (microsoft.public.dotnet.languages.csharp)
  • Socket Send and Receive Thread Safety
    ... Is it safe for one thread to call Socket.Receive and another to call ... Socket.Send on the same Socket at the same time? ... The documentation says that instance members are not guaranteed to be thread ...
    (microsoft.public.dotnet.framework)
  • Socket Send and Receive Thread Safety
    ... Is it safe for one thread to call Socket.Receive and another to call ... Socket.Send on the same Socket at the same time? ... The documentation says that instance members are not guaranteed to be thread ...
    (microsoft.public.win32.programmer.networks)
  • Re: Is VMS Security being dumbed-down for Java?
    ... RTL calls are not safe from inner-mode ... But if the VMS documentation set did not consistently refer to ... exec-based system services are not generally considered supported. ... Privileged shareable images, also known as user-written ...
    (comp.os.vms)
  • Re: [OT] how to clean grime off old computer MB?
    ... I don't want to remove e.g. the CPU from its socket. ... You need to remove all socketed devices, and especially the CPU. ... which presumably is safe for the ... believe was safe for aluminum electrolytics; ...
    (Debian-User)