Exemplo n.º 1
0
    public void Send(XSocket socket, string name, string pwd)
    {
        XStream stream = socket.BeginSend(m_ptID);

        stream.WriteString(name);
        stream.WriteString(pwd);
        socket.EndSend();
    }