Пример #1
0
    /***测试代码,可删除End***/

    public IEnumerator Connect()
    {
        m_socket = new SocketExtra(this);
        m_socket.Connect("127.0.0.1", 9903);
        while (!m_socket.Connected)
        {
            yield return(1);
        }
    }
Пример #2
0
 public NetServer()
 {
     m_speecher = new Speecher();
     m_socket   = new SocketExtra(this);
 }