terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ SendAsync()

bool System.Net.Sockets.Socket.SendAsync ( SocketAsyncEventArgs e)
inline

Definition at line 1434 of file Socket.cs.

1435 {
1436 IList<ArraySegment<byte>> bufferList;
1437 do
1438 {
1440 object @object = e._buffer._object;
1441 bufferList = e._bufferList;
1442 }
1443 while (bufferList == null);
1444 if (!true)
1445 {
1446 }
1447 IntPtr handle;
1448 SocketAsyncResult socket_async_result2;
1449 if (bufferList != null)
1450 {
1451 SocketAsyncResult socket_async_result = e.socket_async_result;
1452 IList<ArraySegment<byte>> bufferList2 = e._bufferList;
1455 handle = socket_async_result.Handle;
1456 socket_async_result2 = e.socket_async_result;
1457 }
1458 bool completed_synchronously = socket_async_result2.completed_synchronously;
1459 int offset = socket_async_result2.Offset;
1460 bool completed_synchronously2 = socket_async_result2.completed_synchronously;
1463 if (handle == 0)
1464 {
1465 }
1466 bool completed_synchronously3 = socket_async_result2.completed_synchronously;
1467 return true;
1468 }
class f__AnonymousType0<< Count > j__TPar
SemaphoreSlim WriteSem
Definition Socket.cs:2067

References System.Net.Sockets.SocketAsyncEventArgs._buffer, System.Net.Sockets.SocketAsyncEventArgs._bufferList, System.Memory< T >._object, System.Net.Sockets.SocketAsyncResult.Handle, j__TPar, System.offset, System.Net.Sockets.SocketAsyncResult.Offset, System.Net.Sockets.SocketAsyncEventArgs.socket_async_result, System.Net.Sockets.Socket.ThrowIfDisposedAndClosed(), and System.Net.Sockets.Socket.WriteSem.

Referenced by System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream().