Esempio n. 1
0
    void TestPing()
    {
        StringBuilder sb = new StringBuilder(); // String Builder Create

        sb.Append("Test Ping... 제발 잘 되려무나...");

        try {
            byte[] result = PacketInfo.MakeReqPingPacket();
            m_Socket.Send(result);
        } catch (SocketException err) {
            Debug.Log("Socket send or receive error! : " + err.ToString());
        }
    }