文件名称:socket2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:13.92kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
基于linux操作系统下的socket编程,完成一个简单聊天工具。服务器端首先:向内核申请一个socket。第二绑定地址到socket上,地址包括主机、端口。第三在socket上,允许接入呼叫并设置队列长度为1.第四等待/接受呼叫。第五传输数据(及可以聊天)。
客户端:第一向内核请求建立socket 第二与服务器相连。第三传输数据
-Linux operating system based on the socket programming, to complete a simple chat tool. Server-side First of all: to the kernel for a socket. Bind address to socket on the second, address, including the host, port. Third in the socket, allowing access to the call and set the queue length is 1. 4th to wait for/receive calls. 5th transmit data (and you can chat). Client: first to the kernel requests the establishment of a second socket connected with the server. Third transmission of data
客户端:第一向内核请求建立socket 第二与服务器相连。第三传输数据
-Linux operating system based on the socket programming, to complete a simple chat tool. Server-side First of all: to the kernel for a socket. Bind address to socket on the second, address, including the host, port. Third in the socket, allowing access to the call and set the queue length is 1. 4th to wait for/receive calls. 5th transmit data (and you can chat). Client: first to the kernel requests the establishment of a second socket connected with the server. Third transmission of data
(系统自动生成,下载前可以参看下载内容)
下载文件列表
socket2/timeclnt
socket2/timeclnt.c
socket2/timeserv
socket2/timeserv.c
socket2
socket2/timeclnt.c
socket2/timeserv
socket2/timeserv.c
socket2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.