| 1234567891011121314151617181920212223 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SKMC.Api.Common.Tcp
- {
- /// <summary>
- /// TCP转发代理
- /// </summary>
- public interface ITcpProxy
- {
- void SetLocal(string localHost, int localPort);
- void SetTarget(string targetHost, int targetPort);
- void Listen(int size);
- void Close();
- }
- }
|