Home
last modified time | relevance | path

Searched refs:LingerOption (Results 1 – 25 of 58) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/Unix/System.Native/
H A DInterop.LingerOption.cs13 internal struct LingerOption struct in Interop.Sys
20 … internal static extern unsafe Error GetLingerOption(SafeHandle socket, LingerOption* option); in GetLingerOption()
23 … internal static extern unsafe Error SetLingerOption(SafeHandle socket, LingerOption* option); in SetLingerOption()
26 internal static extern unsafe Error SetLingerOption(IntPtr socket, LingerOption* option); in SetLingerOption()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DLingerStateTest.cs14 sock.LingerState = new LingerOption(enabled, lingerTime); in TestLingerState_Success()
24 sock.LingerState = new LingerOption(enabled, lingerTime); in TestLingerState_ArgumentException()
67 sock.LingerState = new LingerOption(true, Int16.MaxValue); in Socket_LingerState_Upper_Boundaries_CorrectBehavior_OSX()
72 sock.LingerState = new LingerOption(true, Int16.MaxValue + 1); in Socket_LingerState_Upper_Boundaries_CorrectBehavior_OSX()
77 sock.LingerState = new LingerOption(true, UInt16.MaxValue); in Socket_LingerState_Upper_Boundaries_CorrectBehavior_OSX()
100 client.LingerState = new LingerOption(linger, timeout); in SetLingerAfterServerClosed()
H A DTcpClientTest.cs290 client.LingerState = new LingerOption(true, 42); in Roundtrip_LingerOption_GetEqualsSet()
294 client.LingerState = new LingerOption(true, 0); in Roundtrip_LingerOption_GetEqualsSet()
298 client.LingerState = new LingerOption(false, 0); in Roundtrip_LingerOption_GetEqualsSet()
376 client.LingerState = new LingerOption(true, 1); in Properties_PersistAfterConnect()
H A DSelectTest.cs218 listener.LingerState = new LingerOption(true, 0); in CreateConnectedSockets()
223 client.LingerState = new LingerOption(true, 0); in CreateConnectedSockets()
H A DDnsEndPointTest.cs45 sock.LingerState = new LingerOption(false, 0); in Socket_ConnectDnsEndPoint_SetSocketProperties_Success()
134 sock.LingerState = new LingerOption(false, 0); in Socket_BeginConnectDnsEndPoint_SetSocketProperties_Success()
228 sock.LingerState = new LingerOption(false, 0); in Socket_ConnectAsyncDnsEndPoint_SetSocketProperties_Success()
H A DSendReceive.cs225 client.LingerState = new LingerOption(true, LingerTime); in SendRecv_Stream_TCP()
724 client.LingerState = new LingerOption(true, lingerTimeout); in SendRecv_BlockingNonBlocking_LingerTimeout_Success()
725 listener.LingerState = new LingerOption(true, lingerTimeout); in SendRecv_BlockingNonBlocking_LingerTimeout_Success()
738 server.LingerState = new LingerOption(true, lingerTimeout); in SendRecv_BlockingNonBlocking_LingerTimeout_Success()
1187 client.LingerState = new LingerOption(true, LingerTime); in SendRecvAsync_TcpListener_TcpClient()
H A DDisposedSocketTests.cs149 GetDisposedSocket().LingerState = new LingerOption(true, 1); in SetLingerState_Throws_ObjectDisposed()
515 …().SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger, new LingerOption(true, 1))); in SetSocketOption_Object_Throws_ObjectDisposed()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DLingerOption.cs9 public class LingerOption class
14 public LingerOption(bool enable, int seconds) in LingerOption() method in System.Net.Sockets.LingerOption
H A DSocket.Unix.cs61 LingerOption linger = null; in ReplaceHandle()
H A DSocketPal.Windows.cs543 public static SocketError SetLingerOption(SafeCloseSocket handle, LingerOption optionValue) in SetLingerOption()
648 … public static SocketError GetLingerOption(SafeCloseSocket handle, out LingerOption optionValue) in GetLingerOption()
663 optionValue = default(LingerOption); in GetLingerOption()
667 optionValue = new LingerOption(lngopt.OnOff != 0, (int)lngopt.Time); in GetLingerOption()
H A DSocketPal.Unix.cs1202 … public static unsafe SocketError SetLingerOption(SafeCloseSocket handle, LingerOption optionValue) in SetLingerOption()
1204 var opt = new Interop.Sys.LingerOption { in SetLingerOption()
1347 …public static unsafe SocketError GetLingerOption(SafeCloseSocket handle, out LingerOption optionVa… in GetLingerOption()
1349 var opt = new Interop.Sys.LingerOption(); in GetLingerOption()
1353 optionValue = default(LingerOption); in GetLingerOption()
1357 optionValue = new LingerOption(opt.OnOff != 0, opt.Seconds); in GetLingerOption()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/Sockets/
H A DLingerOption.cs16 public class LingerOption { class
29 public LingerOption(bool enable, int seconds) { in LingerOption() method in System.Net.Sockets.LingerOption
H A DTCPClient.cs581 public LingerOption LingerState { in TcpClient()
583 … return (LingerOption)Client.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger); in TcpClient()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Posix/Mono.Unix/
H A DUnixClient.cs91 public LingerOption LingerState {
94 return (LingerOption) client.GetSocketOption (SocketOptionLevel.Socket,
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Native/Unix/System.Native/
H A Dpal_networking.h269 struct LingerOption struct
353 int32_t SystemNative_GetLingerOption(intptr_t socket, struct LingerOption* option);
355 int32_t SystemNative_SetLingerOption(intptr_t socket, struct LingerOption* option);
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Sockets/
H A DTcpClient.platformnotsupported.cs82 public LingerOption LingerState {
/dports/www/xsp/xsp-4.5/src/Mono.WebServer/
H A DApplicationServer.cs351 sock.LingerState = new LingerOption (true, 15); in SetSocketOptions()
415 socket.LingerState = new LingerOption (true, 0); in CloseSocket()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.Net.Sockets/
H A DTypeForwarders.cs27 … System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.LingerOption))]
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7.1/Facades/
H A DSystem.Net.Sockets.cs20 …:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.LingerOption))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/Facades/
H A DSystem.Net.Sockets.cs21 …:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.LingerOption))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/Facades/
H A DSystem.Net.Sockets.cs21 …:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.LingerOption))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/Facades/
H A DSystem.Net.Sockets.cs21 …:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.LingerOption))]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/ref/
H A DSystem.Net.Sockets.cs72 public partial class LingerOption class
74 public LingerOption(bool enable, int seconds) { } in LingerOption() method in System.Net.Sockets.LingerOption
218 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } }
538 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/tests/ManualTests/DataCommon/
H A DProxyServer.cs530 IncomingConnection.LingerState = new LingerOption(true, 0); in Kill()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Net/
H A DSafeCloseSocket.Unix.cs278 var linger = new Interop.Sys.LingerOption { in InnerReleaseHandle()

123