/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/ |
H A D | LingerStateTest.cs | 14 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 D | TcpClientTest.cs | 290 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 D | SelectTest.cs | 218 listener.LingerState = new LingerOption(true, 0); in CreateConnectedSockets() 223 client.LingerState = new LingerOption(true, 0); in CreateConnectedSockets()
|
H A D | DnsEndPointTest.cs | 45 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 D | SendReceive.cs | 225 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 D | DisposedSocketTests.cs | 141 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 D | Socket.Unix.cs | 64 if (_handle.IsTrackedOption(TrackedSocketOptions.LingerState)) linger = LingerState; in ReplaceHandle() 88 if (_handle.IsTrackedOption(TrackedSocketOptions.LingerState)) LingerState = linger; in ReplaceHandle()
|
H A D | TCPClient.cs | 455 public LingerOption LingerState property in System.Net.Sockets.TcpClient 457 get { return Client.LingerState; } 458 set { Client.LingerState = value; }
|
H A D | Socket.cs | 496 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 D | SafeCloseSocket.Unix.cs | 88 … 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 D | TcpClient.platformnotsupported.cs | 82 public LingerOption LingerState { property in System.Net.Sockets.TcpClient
|
/dports/www/xsp/xsp-4.5/src/Mono.WebServer/ |
H A D | ApplicationServer.cs | 351 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 D | UnixClient.cs | 91 public LingerOption LingerState { property in Mono.Unix.UnixClient
|
/dports/sysutils/vector/vector-0.10.0/src/sinks/util/ |
H A D | sink.rs | 304 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 D | ProxyServer.cs | 530 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 D | TCPClient.cs | 581 public LingerOption LingerState { in TcpClient() property in System.Net.Sockets.TcpClient
|
H A D | Socket.cs | 727 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 D | System.Net.Sockets.cs | 218 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 D | SmtpConnection.cs | 184 _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 D | SocketTest.cs | 3777 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 D | Mono.Posix.cs | 455 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 D | Mono.Posix.cs | 456 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 D | Mono.Posix.cs | 455 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 D | System.cs | 8196 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 D | System.cs | 8313 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
|