Example #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;
 }
Example #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;
 }