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

◆ Available

int System.Net.Sockets.Socket.Available
get

Definition at line 595 of file Socket.cs.

596 {
597 get
598 {
600 int available;
601 SocketError available2 = SocketPal.GetAvailable(_handle, out available);
602 if (System.Net.NetEventSource.Log.IsEnabled())
603 {
604 System.Net.NetEventSource.Info(this, $"GetAvailable returns errorCode:{available2}", "Available");
605 }
606 if (available2 != 0)
607 {
609 }
610 return available;
611 }
612 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
SafeSocketHandle _handle
Definition Socket.cs:533
void UpdateStatusAfterSocketErrorAndThrowException(SocketError error, [CallerMemberName] string callerName=null)
Definition Socket.cs:3715