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

◆ Send() [2/5]

int System.Net.Sockets.Socket.Send ( byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
[Out] SocketError errorCode )
inline

Definition at line 1392 of file Socket.cs.

1393 {
1395 this.ThrowIfBufferNull(buffer);
1396 this.ThrowIfBufferOutOfRange(buffer, offset, size);
1397 int num2;
1398 if (size != 0)
1399 {
1400 if (buffer != null)
1401 {
1402 }
1403 SafeSocketHandle handle = this.m_Handle;
1404 bool flag = this.is_blocking;
1405 int num = 1;
1406 this.is_connected = num != 0;
1407 return num2;
1408 }
1409 return num2;
1410 }
class f__AnonymousType0<< Count > j__TPar
void ThrowIfBufferNull(byte[] buffer)
Definition Socket.cs:1824
SafeSocketHandle m_Handle
Definition Socket.cs:2058
void ThrowIfBufferOutOfRange(byte[] buffer, int offset, int size)
Definition Socket.cs:1832

References System.Net.Sockets.Socket.is_blocking, j__TPar, System.Net.Sockets.Socket.m_Handle, System.offset, System.Net.Sockets.Socket.ThrowIfBufferNull(), System.Net.Sockets.Socket.ThrowIfBufferOutOfRange(), and System.Net.Sockets.Socket.ThrowIfDisposedAndClosed().