public static UdpUser ConnectTo(IPEndPoint endPoint) { var connection = new UdpUser(endPoint); connection.Client.Connect(endPoint); return connection; }
public ITypeProtocolClient AsClient(IPEndPoint ipEndPoint) { user = UdpUser.ConnectTo(ipEndPoint); return this; }