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

◆ NetworkStream() [3/3]

System.Net.Sockets.NetworkStream.NetworkStream ( Socket socket,
FileAccess access,
bool ownsSocket )
inline

Definition at line 23 of file NetworkStream.cs.

24 {
26 if (!true)
27 {
28 }
29 base..ctor();
30 if (socket == null)
31 {
32 return;
33 }
34 if (!socket.is_blocking)
35 {
36 return;
37 }
38 if (socket.is_connected)
39 {
40 SocketType socketType = socket.socketType;
41 this._streamSocket = socket;
42 this._ownsSocket = socketType != (SocketType)0;
43 this._readable = true;
44 return;
45 }
46 }
class f__AnonymousType0<< Count > j__TPar

References System.Net.Sockets.Socket.is_blocking, System.Net.Sockets.Socket.is_connected, j__TPar, and System.Net.Sockets.Socket.socketType.