public UdpConnection(Peer peer) { Peer = peer; State = UdpConnectionState.RequestSend; }
public P2PEventArgs(Peer p, CommandType t, byte[] d) { peer = p; eventType = t; data = d; }