예제 #1
0
        private void PrintResponseMessage(string ip, int port, string objt)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("[" + DateTime.Now + "][Incoming.][" + conn + "][Response: " + objt + "]");
        }
예제 #2
0
        private void PrintErrorMessage(string ip, int port, string msg)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("##\n[" + DateTime.Now + "][Error....][" + conn + "][Details.: " + msg + "]\n##");
        }
예제 #3
0
        private void PrintRequestMessage(string ip, int port)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("[" + DateTime.Now + "][Request..][" + conn + "]");
        }