Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompleteSendReceive()

static void System.Net.Sockets.Socket.CompleteSendReceive ( Socket s,
TaskSocketAsyncEventArgs< int > saea,
bool isReceive )
inlinestaticprivate

Definition at line 4313 of file Socket.cs.

4314 {
4315 SocketError socketError = saea.SocketError;
4316 int bytesTransferred = saea.BytesTransferred;
4317 bool wrapExceptionsInIOExceptions = saea._wrapExceptionsInIOExceptions;
4321 {
4322 s.ReturnSocketAsyncEventArgs(saea, isReceive);
4323 }
4324 if (socketError == SocketError.Success)
4325 {
4327 }
4328 else
4329 {
4331 }
4332 }
static Exception GetException(SocketError error, bool wrapExceptionsInIOExceptions=false)
Definition Socket.cs:4334

References System.Net.Sockets.Socket.GetException(), and System.s.

Referenced by System.Net.Sockets.Socket.ReceiveAsync(), and System.Net.Sockets.Socket.SendAsync().