- LED The led belinking for 8 led of Spartan 3a 1800. The input clock is from the board and the leds are blinking each second.
- xlcs 这是一个很简单的在线心理测试系统
- vcdtljk 介绍了VC下使用动态链接库的方法
- 15W104P18B20PSOFT-UART 改进版15F104E+18B20+软串口读写
- GetMac100 命令行下的ipconfig源码
- GUOLINGZHWNGDANB_ zvsgyfyufyufguyfuyfuyfuyff(zcsvtgucvucvucvuvcuvucv)
文件名称:chat
-
所属分类:
- 标签属性:
- 上传时间:2013-12-28
-
文件大小:3.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
模拟qq聊天室。
服务器端:使用TCP协议创建套接字拿到机器的IP地址,选择一个可用的端口号,绑定它们,然后侦听客户端等待套接字连接。在收到客户端的连接请求,创建一个线程来与客户端进行交互。
客户端:类似服务器端,创建一个socket,注意IP和端口号和服务器端的匹配。在发送连接请求,服务器端,输入您的用户名,然后连接服务器时,可以接收其他客户端发送的数据,但他们也可以将数据发送到服务器端,聊天室功能的实现。-Simulated qq chat rooms.
server side: using tcp protocol creates socket to get the IP address of the machine, select an available port number, bind them, and then listen for client-side waiting for the socket connection. Upon receipt of the client-side connection request, create a thread to interact with the client side.
client side: Similar to server-side, to create a socket, note the IP and port number and server-side match. Before sending a connection request on the server side, enter your user name, and then connect server, you can receive the data sent by other client-side, but they can also send data to the server side, the chat room feature is realized.
服务器端:使用TCP协议创建套接字拿到机器的IP地址,选择一个可用的端口号,绑定它们,然后侦听客户端等待套接字连接。在收到客户端的连接请求,创建一个线程来与客户端进行交互。
客户端:类似服务器端,创建一个socket,注意IP和端口号和服务器端的匹配。在发送连接请求,服务器端,输入您的用户名,然后连接服务器时,可以接收其他客户端发送的数据,但他们也可以将数据发送到服务器端,聊天室功能的实现。-Simulated qq chat rooms.
server side: using tcp protocol creates socket to get the IP address of the machine, select an available port number, bind them, and then listen for client-side waiting for the socket connection. Upon receipt of the client-side connection request, create a thread to interact with the client side.
client side: Similar to server-side, to create a socket, note the IP and port number and server-side match. Before sending a connection request on the server side, enter your user name, and then connect server, you can receive the data sent by other client-side, but they can also send data to the server side, the chat room feature is realized.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chat/
chat/client.c
chat/server.c
chat/client.c
chat/server.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
