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