Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }