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

◆ SendTo()

int System.Net.Sockets.Socket.SendTo ( byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
EndPoint remoteEP )
inline

Definition at line 1551 of file Socket.cs.

1552 {
1553 for (;;)
1554 {
1555 int num = 1;
1557 this.ThrowIfBufferNull(buffer);
1558 this.ThrowIfBufferOutOfRange(buffer, offset, size);
1559 if (remoteEP != null)
1560 {
1561 if (buffer == null || num != 0)
1562 {
1563 }
1564 SafeSocketHandle handle = this.m_Handle;
1565 bool flag = this.is_blocking;
1566 if (socketFlags == SocketFlags.None)
1567 {
1568 break;
1569 }
1570 }
1571 }
1572 int num2;
1573 return num2;
1574 }
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().