コード例 #1
0
ファイル: IRelay.cs プロジェクト: minernl/TrafficStatistics
 public RelayEventArgs(Socket sock, RelaySockType sockType, RelaySockAction sockAction, byte[] buffer, int offset, int length)
 {
     Sock       = sock;
     SockType   = sockType;
     SockAction = sockAction;
     Buffer     = buffer;
     Offset     = offset;
     Length     = length;
 }
コード例 #2
0
ファイル: IRelay.cs プロジェクト: minernl/TrafficStatistics
 public RelayEventArgs(Socket sock, RelaySockType sockType, RelaySockAction sockAction, EndPoint ep, byte[] buffer, int offset, int length)
     : this(sock, sockType, sockAction, buffer, offset, length)
 {
     EndPoint = ep;
 }