Exemplo n.º 1
0
        public static UdpUser ConnectTo(IPEndPoint ip)
        {
            var connection = new UdpUser();

            connection.m_client.Connect(ip);
            return(connection);
        }
Exemplo n.º 2
0
        public static UdpUser ConnectTo(string hostname, int port)
        {
            var connection = new UdpUser();

            connection.m_client.Connect(hostname, port);
            return(connection);
        }