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

◆ Receive() [2/6]

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

Definition at line 1158 of file Socket.cs.

1159 {
1160 int num = 1;
1162 this.ThrowIfBufferNull(buffer);
1163 this.ThrowIfBufferOutOfRange(buffer, offset, size);
1164 if (buffer == null || num != 0)
1165 {
1166 }
1167 SafeSocketHandle handle = this.m_Handle;
1168 bool flag = this.is_blocking;
1169 if (num == 0)
1170 {
1171 }
1172 errorCode.value__ = num;
1173 int num3;
1174 if (num == 0)
1175 {
1176 int num2 = 1;
1177 this.is_connected = num2 != 0;
1178 return num3;
1179 }
1180 return num3;
1181 }
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().