Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Listen()

static SocketError System.Net.Sockets.SocketPal.Listen ( SafeSocketHandle handle,
int backlog )
inlinestatic

Definition at line 149 of file SocketPal.cs.

150 {
151 SocketError socketError = global::Interop.Winsock.listen(handle, backlog);
152 if (socketError != SocketError.SocketError)
153 {
154 return SocketError.Success;
155 }
156 return GetLastSocketError();
157 }
static SocketError GetLastSocketError()
Definition SocketPal.cs:22

References System.Net.Sockets.SocketPal.GetLastSocketError(), and System.handle.

Referenced by System.Net.Sockets.Socket.Listen().