Home
last modified time | relevance | path

Searched refs:remoteEP (Results 1 – 25 of 40) sorted by relevance

12

/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKMap/GKMap.Core/ProxySocket/
H A DProxySocket.cs103 public new void Connect(EndPoint remoteEP) in Connect() argument
105 if (remoteEP == null) in Connect()
108 base.Connect(remoteEP); in Connect()
112 (new Socks4Handler(this, ProxyUser)).Negotiate((IPEndPoint)remoteEP); in Connect()
114 (new Socks5Handler(this, ProxyUser, ProxyPass)).Negotiate((IPEndPoint)remoteEP); in Connect()
156 … public new IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback callback, object state) in BeginConnect() argument
158 if (remoteEP == null || callback == null) in BeginConnect()
161 return base.BeginConnect(remoteEP, callback, state); in BeginConnect()
165 …esult = (new Socks4Handler(this, ProxyUser)).BeginNegotiate((IPEndPoint)remoteEP, this.OnHandShake… in BeginConnect()
168 …w Socks5Handler(this, ProxyUser, ProxyPass)).BeginNegotiate((IPEndPoint)remoteEP, this.OnHandShake… in BeginConnect()
H A DSocks4Handler.cs83 private byte[] GetEndPointBytes(IPEndPoint remoteEP) in GetEndPointBytes() argument
85 if (remoteEP == null) in GetEndPointBytes()
90 Array.Copy(PortToBytes(remoteEP.Port), 0, connect, 2, 2); in GetEndPointBytes()
91 Array.Copy(remoteEP.Address.GetAddressBytes(), 0, connect, 4, 4); in GetEndPointBytes()
118 public override void Negotiate(IPEndPoint remoteEP) in Negotiate() argument
120 Negotiate(GetEndPointBytes(remoteEP)); in Negotiate()
167 …public override IAsyncProxyResult BeginNegotiate(IPEndPoint remoteEP, HandShakeComplete callback, … in BeginNegotiate() argument
170 Buffer = GetEndPointBytes(remoteEP); in BeginNegotiate()
H A DSocks5Handler.cs111 private byte[] GetEndPointBytes(IPEndPoint remoteEP) in GetEndPointBytes() argument
113 if (remoteEP == null) in GetEndPointBytes()
121 Array.Copy(remoteEP.Address.GetAddressBytes(), 0, connect, 4, 4); in GetEndPointBytes()
122 Array.Copy(PortToBytes(remoteEP.Port), 0, connect, 8, 2); in GetEndPointBytes()
149 public override void Negotiate(IPEndPoint remoteEP) in Negotiate() argument
151 Negotiate(GetEndPointBytes(remoteEP)); in Negotiate()
211 …public override IAsyncProxyResult BeginNegotiate(IPEndPoint remoteEP, HandShakeComplete callback, … in BeginNegotiate() argument
214 HandShake = GetEndPointBytes(remoteEP); in BeginNegotiate()
H A DSocksHandler.cs183 public abstract void Negotiate(IPEndPoint remoteEP); in Negotiate() argument
191 …public abstract IAsyncProxyResult BeginNegotiate(IPEndPoint remoteEP, HandShakeComplete callback, … in BeginNegotiate() argument
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DReceiveMessageFrom.cs40 EndPoint remoteEP = new IPEndPoint(IPAddress.Any, 0); in Success()
42 …n = receiver.ReceiveMessageFrom(new byte[1024], 0, 1024, ref flags, ref remoteEP, out packetInform… in Success()
45 Assert.Equal(sender.LocalEndPoint, remoteEP); in Success()
80 EndPoint remoteEP = new IPEndPoint(IPAddress.IPv6Any, 0); in Success_IPv6()
82 …n = receiver.ReceiveMessageFrom(new byte[1024], 0, 1024, ref flags, ref remoteEP, out packetInform… in Success_IPv6()
85 Assert.Equal(sender.LocalEndPoint, remoteEP); in Success_IPv6()
133 EndPoint remoteEP = new IPEndPoint(any, 0); in Success_APM()
135 …lt ar = receiver.BeginReceiveMessageFrom(new byte[1024], 0, 1024, flags, ref remoteEP, null, null); in Success_APM()
136 … int len = receiver.EndReceiveMessageFrom(ar, ref flags, ref remoteEP, out packetInformation); in Success_APM()
139 Assert.Equal(sender.LocalEndPoint, remoteEP); in Success_APM()
H A DUdpClientTest.cs168 IPEndPoint remoteEP = null; in DisposeClose_OperationsThrow()
511 IPEndPoint remoteEP = null; in Send_Receive_Success()
512 byte[] data = receiver.Receive(ref remoteEP); in Send_Receive_Success()
513 Assert.NotNull(remoteEP); in Send_Receive_Success()
530 IPEndPoint remoteEP = null; in Send_Receive_Connected_Success()
531 byte[] data = receiver.Receive(ref remoteEP); in Send_Receive_Connected_Success()
532 Assert.NotNull(remoteEP); in Send_Receive_Connected_Success()
573 IPEndPoint remoteEP = null; in BeginEndSend_BeginEndReceive_Success()
575 Assert.NotNull(remoteEP); in BeginEndSend_BeginEndReceive_Success()
592 IPEndPoint remoteEP = null; in BeginEndSend_BeginEndReceive_Connected_Success()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DSocket.cs777 if (remoteEP == null) in Connect()
853 Connect(remoteEP); in Connect()
1303 if (remoteEP == null) in SendTo()
1569 if (remoteEP == null) in ReceiveMessageFrom()
1649 if (remoteEP == null) in ReceiveFrom()
1656 remoteEP.AddressFamily, _addressFamily), nameof(remoteEP)); in ReceiveFrom()
2067 if (remoteEP == null) in BeginConnect()
2123 Connect(remoteEP); in UnsafeBeginConnect()
2747 if (remoteEP == null) in BeginSendTo()
3236 remoteEP = remoteEP.Create(asyncResult.SocketAddress); in BeginReceiveMessageFrom()
[all …]
H A DSocketTaskExtensions.cs18 public static Task ConnectAsync(this Socket socket, EndPoint remoteEP) => in ConnectAsync() argument
19 socket.ConnectAsync(remoteEP); in ConnectAsync()
44 …Async(this Socket socket, ArraySegment<byte> buffer, SocketFlags socketFlags, EndPoint remoteEP) => in SendToAsync() argument
45 socket.SendToAsync(buffer, socketFlags, remoteEP); in SendToAsync()
H A DTCPClient.cs239 IPEndPoint remoteEP = new IPEndPoint(address, port); in Connect()
240 Connect(remoteEP); in Connect()
246 public void Connect(IPEndPoint remoteEP) in Connect() argument
248 if (NetEventSource.IsEnabled) NetEventSource.Enter(this, remoteEP); in Connect()
254 if (remoteEP == null) in Connect()
256 throw new ArgumentNullException(nameof(remoteEP)); in Connect()
259 Client.Connect(remoteEP); in Connect()
H A DUDPClient.cs379 public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint remoteEP) in EndReceive() argument
397 remoteEP = (IPEndPoint)tempRemoteEP; in EndReceive()
656 IPEndPoint remoteEP = null; in ReceiveAsync()
657 byte[] buffer = client.EndReceive(asyncResult, ref remoteEP); in ReceiveAsync()
658 return new UdpReceiveResult(buffer, remoteEP); in ReceiveAsync()
861 public byte[] Receive(ref IPEndPoint remoteEP) in Receive() argument
887 remoteEP = (IPEndPoint)tempRemoteEP; in Receive()
H A DSocket.Tasks.cs116 internal Task ConnectAsync(EndPoint remoteEP) in ConnectAsync() argument
119 BeginConnect(remoteEP, iar => in ConnectAsync()
463 …ternal Task<int> SendToAsync(ArraySegment<byte> buffer, SocketFlags socketFlags, EndPoint remoteEP) in SendToAsync() argument
466 BeginSendTo(buffer.Array, buffer.Offset, buffer.Count, socketFlags, remoteEP, iar => in SendToAsync()
/dports/www/xsp/xsp-4.5/src/Mono.WebServer.XSP/
H A DXSPApplicationHost.cs52 var remoteEP = new IPEndPoint (remoteEPAdds, remoteEPPort); in ProcessRequest()
53 …ProcessRequest (reqId, localEP, remoteEP, verb, path, queryString, protocol, inputBuffer, redirect… in ProcessRequest()
56 public void ProcessRequest(int reqId, IPEndPoint localEP, IPEndPoint remoteEP, in ProcessRequest() argument
64 localEP, remoteEP, verb, path, queryString, in ProcessRequest()
H A DXSPWorkerRequest.cs66 readonly EndPoint remoteEP; field in Mono.WebServer.XSPWorkerRequest
140 EndPoint localEP, EndPoint remoteEP, in XSPWorkerRequest() argument
150 this.remoteEP = remoteEP; in XSPWorkerRequest()
483 return ((IPEndPoint) remoteEP).Address.ToString (); in GetRemoteAddress()
502 return ((IPEndPoint) remoteEP).Port; in GetRemotePort()
H A DXSPWorker.cs51 readonly IPEndPoint remoteEP; field in Mono.WebServer.XSP.XSPWorker
87 remoteEP = (IPEndPoint) client.RemoteEndPoint; in XSPWorker()
191 remoteEP, rdata.Verb, in RunInternal()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/ref/
H A DSystem.Net.Sockets.cs245 …public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback callback, object state) { throw … in BeginConnect() argument
264 public void Connect(System.Net.EndPoint remoteEP) { } in Connect() argument
307 public int ReceiveFrom(byte[] buffer, ref System.Net.EndPoint remoteEP) { throw null; } in ReceiveFrom() argument
308 …ffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw null; } in ReceiveFrom() argument
326 …int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw null; } in SendTo() argument
327 public int SendTo(byte[] buffer, System.Net.EndPoint remoteEP) { throw null; } in SendTo() argument
328 …] buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw null; } in SendTo() argument
506 …k ConnectAsync(this System.Net.Sockets.Socket socket, System.Net.EndPoint remoteEP) { throw null; } in ConnectAsync() argument
550 public void Connect(System.Net.IPEndPoint remoteEP) { } in Connect() argument
625 public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint remoteEP) { throw null; } in EndReceive() argument
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Sockets/
H A DSocket.cs851 if (remoteEP == null) in Connect()
970 if (remoteEP == null) in BeginConnect()
976 EndPoint = remoteEP, in BeginConnect()
1538 if (remoteEP == null) in ReceiveFrom()
1580 remoteEP = remoteEP.Create (sockaddr); in ReceiveFrom()
1634 if (remoteEP == null) in BeginReceiveFrom()
1642 EndPoint = remoteEP, in BeginReceiveFrom()
1715 if (remoteEP == null) in ReceiveMessageFrom()
1739 if (remoteEP == null) in BeginReceiveMessageFrom()
2045 if (remoteEP == null) in SendTo()
[all …]
H A DSocketTaskExtensions.cs31 public static Task ConnectAsync(this Socket socket, EndPoint remoteEP) in ConnectAsync() argument
36 remoteEP, in ConnectAsync()
232 EndPoint remoteEP) in SendToAsync() argument
246 remoteEP, in SendToAsync()
H A DUdpClient.platformnotsupported.cs118 public byte [] Receive (ref IPEndPoint remoteEP) in Receive() argument
163 public byte[] EndReceive (IAsyncResult asyncResult, ref IPEndPoint remoteEP) in EndReceive() argument
H A DTcpClient.platformnotsupported.cs117 public void Connect (IPEndPoint remoteEP) in Connect() argument
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/Sockets/
H A DSocket.cs1024 if (remoteEP==null) { in Connect()
1086 Connect(remoteEP); in Connect()
1635 if (remoteEP==null) { in SendTo()
1993 if (remoteEP==null) { in ReceiveMessageFrom()
2100 if (remoteEP==null) { in ReceiveFrom()
2768 if (remoteEP==null) { in BeginConnect()
4038 if (remoteEP==null) { in BeginSendTo()
4603 if (remoteEP==null) { in BeginReceiveMessageFrom()
4707 remoteEP = remoteEP.Create(asyncResult.SocketAddress); in BeginReceiveMessageFrom()
4842 if (remoteEP==null) { in BeginReceiveFrom()
[all …]
H A DTCPClient.cs328 IPEndPoint remoteEP = new IPEndPoint(address, port); in TcpClient()
329 Connect(remoteEP); in TcpClient()
338 public void Connect(IPEndPoint remoteEP) { in TcpClient() argument
339 if(Logging.On)Logging.Enter(Logging.Sockets, this, "Connect", remoteEP); in TcpClient()
343 if (remoteEP==null) { in TcpClient()
346 Client.Connect(remoteEP); in TcpClient()
H A DUDPClient.cs695 public byte[] Receive(ref IPEndPoint remoteEP) { in Receive() argument
717 remoteEP = (IPEndPoint)tempRemoteEP; in Receive()
758 public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint remoteEP){ in EndReceive() argument
773 remoteEP = (IPEndPoint)tempRemoteEP; in EndReceive()
1030 IPEndPoint remoteEP = null; in ReceiveAsync()
1031 Byte[] buffer = EndReceive(ar, ref remoteEP); in ReceiveAsync()
1032 return new UdpReceiveResult(buffer, remoteEP); in ReceiveAsync()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/ReferenceSources/
H A DSocket.cs46 internal IAsyncResult UnsafeBeginConnect (EndPoint remoteEP, AsyncCallback callback, object state) in UnsafeBeginConnect() argument
48 return BeginConnect (remoteEP, callback, state); in UnsafeBeginConnect()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Sockets/
H A DSocketTest.cs3260 EndPoint remoteEP = null; in ReceiveFrom1_RemoteEP_Null()
3327 EndPoint remoteEP = null; in ReceiveFrom2_RemoteEP_Null()
3376 ref remoteEP); in ReceiveFrom3_Buffer_Null()
3440 ref remoteEP); in ReceiveFrom3_Size_OutOfRange()
3466 ref remoteEP); in ReceiveFrom3_Socket_Closed()
3489 ref remoteEP); in ReceiveFrom4_Buffer_Null()
3514 ref remoteEP); in ReceiveFrom4_Offset_OutOfRange()
3531 ref remoteEP); in ReceiveFrom4_Offset_OutOfRange()
3580 ref remoteEP); in ReceiveFrom4_Size_OutOfRange()
3597 ref remoteEP); in ReceiveFrom4_Size_OutOfRange()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NetworkInformation/tests/FunctionalTests/
H A DConnectionsParsingTests.cs140 …ctionInformation tcpConnectionInformation, IPEndPoint localEP, IPEndPoint remoteEP, TcpState state) in ValidateInfo() argument
143 Assert.Equal(remoteEP, tcpConnectionInformation.RemoteEndPoint); in ValidateInfo()

12