搜索资源列表
TCPsendmessage
- 一个小型的通过TCP协议发信息的程序。 既是服务端也是客户端,在收到信息时能将内容直接弹出屏幕。适合公司内的即时通信。-through a small TCP fat information procedures. Both the server is client, in receipt of the information content can direct pop-up screen. For companies within the instant messaging.
UDPSock
- 当时做工程时需要UDP调试设备发来得信息,找了几个都不理想,索性自己做了一个,希望对刚刚学习socket编程的朋友有所帮助-time when the need to do debugging of equipment UDP more information, to find a few not ideal, simply doing a, and I hope to learn socket programming just friends help
windows-net
- 我们用得最多的协议是UDP和TCP,UDP是不可靠传输服务,TCP是可靠传输服务。UDP就像点对点的数据传输一样,发送者把数据打包,包上有收信者的地址和其他必要信息,至于收信者能不能收到,UDP协议并不保证。而TCP协议就像(实际他们是一个层次的网络协议)是建立在UDP的基础上,加入了校验和重传等复杂的机制来保证数据可靠的传达到收信者。关于网络协议的具体内容,可以参考专门介绍网络协议的书籍,这里直接探讨编程实现网络程序的问题。
UDPEcho
- 一个UDP echo服务器 用来把客户端发来的数据返回给客户端,同时可以用共享内存的方式由另一个进程得到信息
prg10_1
- 聊天室实例。其分为服务器和客户两部分。客户首先与服务器建立TCP连 接,并发送客户名称给服务器,然后就可以通过服务器发信息给其他已连接的客户,同时通 过服务器接收其他客户的信息。-Examples of chat rooms. Divided into two parts, server and client. First of all, the establishment of client and server TCP connection, and send the custome
tcp_send_rec
- 建立简单的TCP服务器和连接服务器的客户端,客户端可以向服务器发送信息,并接受服务器的返回消息,服务器显示客户端发来的信息。-Create a simple TCP server and client connect to the server, the client can send a message to the server, and the server and returns the message server to display the information sent by
IOSOCKET
- SOCKET通信类,包含socket 连接,收、发信息-SOCKET communication programming
UdpDemo
- java代码实现简单的udp通讯 可以实现多个用户同时在线交流 发信息-Java code to achieve a simple UDP communication can achieve multiple users at the same time online exchange of information
tcp
- java 实现简单的基于tcp 通讯 可以有多个客户端同时 发信息-Java implementation of a simple TCP based communication can have multiple clients at the same time send messages
UDP Socket API程序设计
- 启动双方进程后,首先在“发送到”→“目标进程”框中填写对方的IP,然后编辑文本互发 停止其中一方的进程(如关掉进程A),将它的地址改为127.0.0.1:1234,重新启动。再次互发信息 同时开启三个通信终端,其中两个启动进程分别为上面进程A和进程B的地址,还有一个进程C则设置它的本机进程地址为127.0.0.1:2345。 在进程C的终端上设置目标进程地址为A的地址(127.103.212.9:1234),
