Home
last modified time | relevance | path

Searched refs:LingerState (Results 1 – 25 of 38) sorted by relevance

12

/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()
16 Assert.Equal<bool>(enabled, sock.LingerState.Enabled); in TestLingerState_Success()
17 Assert.Equal<int>(lingerTime, sock.LingerState.LingerTime); in TestLingerState_Success()
24 sock.LingerState = new LingerOption(enabled, lingerTime); in TestLingerState_ArgumentException()
34 Assert.False(sock.LingerState.Enabled, "Linger was turned on by default!"); in Socket_LingerState_Common_Boundaries_CorrectBehavior()
35 Assert.Equal<int>(sock.LingerState.LingerTime, 0); in Socket_LingerState_Common_Boundaries_CorrectBehavior()
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()
291 Assert.True(client.LingerState.Enabled); in Roundtrip_LingerOption_GetEqualsSet()
292 Assert.Equal(42, client.LingerState.LingerTime); in Roundtrip_LingerOption_GetEqualsSet()
294 client.LingerState = new LingerOption(true, 0); in Roundtrip_LingerOption_GetEqualsSet()
295 Assert.True(client.LingerState.Enabled); in Roundtrip_LingerOption_GetEqualsSet()
296 Assert.Equal(0, client.LingerState.LingerTime); in Roundtrip_LingerOption_GetEqualsSet()
299 Assert.False(client.LingerState.Enabled); in Roundtrip_LingerOption_GetEqualsSet()
300 Assert.Equal(0, client.LingerState.LingerTime); in Roundtrip_LingerOption_GetEqualsSet()
376 client.LingerState = new LingerOption(true, 1); in Properties_PersistAfterConnect()
383 Assert.True(client.LingerState.Enabled); in Properties_PersistAfterConnect()
[all …]
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.cs141 Assert.Throws<ObjectDisposedException>(() => GetDisposedSocket().LingerState); in LingerState_Throws_ObjectDisposed()
149 GetDisposedSocket().LingerState = new LingerOption(true, 1); in SetLingerState_Throws_ObjectDisposed()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DSocket.Unix.cs64 if (_handle.IsTrackedOption(TrackedSocketOptions.LingerState)) linger = LingerState; in ReplaceHandle()
88 if (_handle.IsTrackedOption(TrackedSocketOptions.LingerState)) LingerState = linger; in ReplaceHandle()
H A DTCPClient.cs455 public LingerOption LingerState property in System.Net.Sockets.TcpClient
457 get { return Client.LingerState; }
458 set { Client.LingerState = value; }
H A DSocket.cs496 public LingerOption LingerState property in System.Net.Sockets.Socket
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Net/
H A DSafeCloseSocket.Unix.cs88 … case SocketOptionName.Linger: _trackedOptions |= TrackedSocketOptions.LingerState; return; in TrackOption()
377 LingerState = 0x8, enumerator
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Sockets/
H A DTcpClient.platformnotsupported.cs82 public LingerOption LingerState { property in System.Net.Sockets.TcpClient
/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/Mono.Posix/Mono.Unix/
H A DUnixClient.cs91 public LingerOption LingerState { property in Mono.Unix.UnixClient
/dports/sysutils/vector/vector-0.10.0/src/sinks/util/
H A Dsink.rs304 type LingerDelay<K> = Box<dyn Future<Item = LingerState<K>, Error = ()> + Send + 'static>;
332 enum LingerState<K> { enum
391 .map(move |_| LingerState::Elapsed(partition_clone)) in set_linger()
394 let cancel = rx.map(|_| LingerState::Canceled).map_err(|_| ()); in set_linger()
560 if let LingerState::Elapsed(partition) = linger { in poll_complete()
/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/mcs/class/referencesource/System/net/System/Net/Sockets/
H A DTCPClient.cs581 public LingerOption LingerState { in TcpClient() property in System.Net.Sockets.TcpClient
H A DSocket.cs727 public LingerOption LingerState { property in System.Net.Sockets.Socket
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/ref/
H A DSystem.Net.Sockets.cs218 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.Socket
538 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.TcpClient
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Mail/src/System/Net/Mail/
H A DSmtpConnection.cs184 _tcpClient.LingerState = new LingerOption(true, 0); in Abort()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Sockets/
H A DSocketTest.cs3777 server.LingerState = client.LingerState = new LingerOption (true, 0); in ConnectedProperty()
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/
H A DMono.Posix.cs455 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in Mono.Unix.UnixClient
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/mono/
H A DMono.Posix.cs456 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in Mono.Unix.UnixClient
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/
H A DMono.Posix.cs455 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in Mono.Unix.UnixClient
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/monotouch/
H A DSystem.cs8196 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.Socket
8576 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.TcpClient
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/
H A DSystem.cs8313 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.Socket
8700 public System.Net.Sockets.LingerOption LingerState { get { throw null; } set { } } property in System.Net.Sockets.TcpClient

12