Пример #1
0
    public void StopServer()
    {
        Debug.Log("StopServer called.");

        // 서버를 정지.
        if (m_sessionUdp != null)
        {
            m_sessionUdp.StopServer();
        }

        if (m_sessionTcp != null)
        {
            m_sessionTcp.StopServer();
        }


        Debug.Log("Server stopped.");
    }
Пример #2
0
 public void StopServer()
 {
     sessionTcp?.StopServer();
     sessionUdp?.StopServer();
 }