首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 聊天程序,主要系统调用,包括:套接字()

聊天程序,主要系统调用,包括:套接字()

资 源 简 介

聊天程序,主要的系统调用包括:socket()-创建Socket;bind()-将创建的Socket与本地端口绑定;connect()与accept()-建立Socket连接;listen()-服务器监听是否有连接请求;send()-数据的可控缓冲发送;recv()-可控缓冲接收;closesocket()-关闭Socket。-Chat program, the main system calls, including: socket ()- Create Socket bind ()- will create a Socket with the local port binding connect () and accept ()- establish a Socket connection listen ()- server monitor whether there is connection requests send ()- data buffer to send controllable recv ()- controllable receiver buffer closesocket ()- Close Socket.

文 件 列 表

chatsource
chatserver
chatclient
VIP VIP
0.186086s