예제 #1
0
    private void CloseClient(int Index)
    {
        closing = true;
        Debug.Log("Connection from " + Ip + " has been terminated");
        //PlayerLeft
        hostServer.SendClientDisconnect();
        Socket.Close();

        Socket = null;
    }