12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Net;
- namespace SuperSocket.SocketBase
- {
-
-
-
- public class ActiveConnectResult
- {
-
-
-
-
-
-
- public bool Result { get; set; }
-
-
-
-
-
-
- public IAppSession Session { get; set; }
- }
-
-
-
- public interface IActiveConnector
- {
-
-
-
-
-
- Task<ActiveConnectResult> ActiveConnect(EndPoint targetEndPoint);
-
-
-
-
-
-
- Task<ActiveConnectResult> ActiveConnect(EndPoint targetEndPoint, EndPoint localEndPoint);
- }
- }
|