18 references to GetSocketOption
System (18)
net\System\Net\Sockets\NetworkStream.cs (2)
258
int timeout = (int)m_StreamSocket.
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout);
290
int timeout = (int)m_StreamSocket.
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.SendTimeout);
net\System\Net\Sockets\Socket.cs (14)
626
return (int)
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.ExclusiveAddressUse) != 0 ? true : false;
639
return (int)
GetSocketOption
(SocketOptionLevel.Socket,
654
return (int)
GetSocketOption
(SocketOptionLevel.Socket,
670
return (int)
GetSocketOption
(SocketOptionLevel.Socket,
688
return (int)
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.SendTimeout);
705
return (LingerOption)
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.Linger);
714
return (int)
GetSocketOption
(SocketOptionLevel.Tcp, SocketOptionName.NoDelay) != 0 ? true : false;
724
return (short)(int)
GetSocketOption
(SocketOptionLevel.IP, SocketOptionName.IpTimeToLive);
727
return (short)(int)
GetSocketOption
(SocketOptionLevel.IPv6, SocketOptionName.IpTimeToLive);
757
return (int)
GetSocketOption
(SocketOptionLevel.IP, SocketOptionName.DontFragment) != 0 ? true : false;
777
return (int)
GetSocketOption
(SocketOptionLevel.IP, SocketOptionName.MulticastLoopback) != 0 ? true : false;
780
return (int)
GetSocketOption
(SocketOptionLevel.IPv6, SocketOptionName.MulticastLoopback) != 0 ? true : false;
804
return (int)
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.Broadcast) != 0 ? true : false;
816
return ((int)
GetSocketOption
(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only) == 0);
net\System\Net\Sockets\TCPClient.cs (2)
583
return (LingerOption)Client.
GetSocketOption
(SocketOptionLevel.Socket, SocketOptionName.Linger);
613
return (int)Client.
GetSocketOption
(optionLevel, optionName);