コード例 #1
0
        static void Main(string[] args)
        {
            TCPReceiver tcpReceiver = new TCPReceiver("127.0.0.1", 1000);
            //TCPUtillity util = new TCPUtillity();

            Console.Read();

            tcpReceiver.receive();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            TCPReceiver soc = new TCPReceiver("127.0.0.1", 1000);
            TCPUtillity utillity = new TCPUtillity();

            Console.Read();

            utillity.TCPSend(soc.networkStream, "hej med jer");
        }