摘要: 服务器端:namespace SocketTest{ class Program { public static void SendMessage() { Socket socket = serverSocket.Accept(); Console.WriteLine("Connected a client:{0}",socket.RemoteEndPoint); socket.Send(Encoding.ASCII.GetBytes("welcome to server"));... 阅读全文
posted @ 2013-02-01 13:21 louiskoo 阅读(19575) 评论(1) 推荐(1) 编辑