文件名称:csoketprogram
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:522.54kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Socket接口设计者最先是将接口放在Unix操作系统里面的。如果了解Unix系统的输入和输出的话,就很容易了解Socket了。网络的 Socket数据传输是一种特殊的I/O,Socket也是一种文件描述符。Socket也具有一个类似于打开文件的函数调用Socket(),该函数返回一个整型的Socket描述符,随后的连接建立、数据传输等操作都是通过该Socket实现的。常用的Socket类型有两种:流式Socket (SOCK_STREAM)和数据报式Socket(SOCK_DGRAM)。流式是一种面向连接的Socket,针对于面向连接的TCP服务应用;数据报式Socket是一种无连接的Socket,对应于无连接的UDP服务应用。-Socket Interface designers is the first interface on the inside of the Unix operating system. If you know the input and output of the Unix system, it is easy to understand Socket. Network socket data transfer is a special I/O, the Socket is also a file descr iptor. Socket also has a similar function to open the file to call the Socket (), the function returns an integer Socket descr iptor, subsequent connection establishment, data transfer and other operations are implemented by the Socket. There are two commonly used types of Socket: streaming the Socket (SOCK_STREAM) and Datagram type Socket (SOCK_DGRAM). Streaming is a connection-oriented Socket, the Socket connection corresponds to the connectionless UDP application for Datagram Socket is a TCP connection-oriented service applications
(系统自动生成,下载前可以参看下载内容)
下载文件列表
csoketprogram.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.