public static int Connect(string name, int port, out IntPtr socket)
        {
            int ret;

            m_netSocketInterface.Connect(name, port, out socket, out ret);
            return(ret);
        }