Fork me on GitHub
摘要: 服务器端:在VS中新建项目,用于服务器的搭建 using System;using System.Collections.Generic; using System.Net.Sockets;using System.Net;using System.Text;using System.Threadi 阅读全文
posted @ 2017-11-05 21:34 爱上游戏开发 阅读(3506) 评论(0) 推荐(0) 编辑
摘要: 客户端与服务器通信,通过IP(识别主机)+端口号(识别应用程序)。 IP地址查询方式:Windows+R键,输入cmd,输入ipconfig。 端口号:可自行设定,但通常为4位。 服务器端: using System;using System.Collections.Generic;using Sy 阅读全文
posted @ 2017-11-05 18:06 爱上游戏开发 阅读(2871) 评论(0) 推荐(1) 编辑
 >>>转载请注明出处