QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1759|回复: 2

1003.1g是什么东东?(socket.c中出现)

[复制链接]
发表于 2005-7-6 16:54:33 | 显示全部楼层 |阅读模式
/*
* For accept, we attempt to create a new socket, set up the link(为了接收,尝试创建新的套接字,设置与用户的连接.)
* with the client, wake up the client, then return the new(唤醒用户,并返回新的连接的文件描述符.)
* connected fd. We collect the address of the connector in kernel(在内核空间收集连接者地址)
* space and move it to user at the very end. This is unclean because(并将其移动到每个终端的用户.)
* we open the socket then return an error.     (?????????打开套接字并返回一个错误.)
*
* 1003.1g adds the ability to recvmsg() to query connection pending
* status to recvmsg. We need to add that support in a way thats
* clean when we restucture accept also.
*/
这是sys_accept()得注释,里面提到的1003.1g是一个协议吗?他有什么具体内容呢?



多谢:)
发表于 2005-7-6 17:56:19 | 显示全部楼层
1003.1g 一个关于协议独立接口的标准,该接口可以使一个应用程序通过网络与另一个
应用程序通讯。 1996 年,IEEE 通过了这个标准。

这是POSIX标准的一部分。
回复

使用道具 举报

 楼主| 发表于 2005-7-6 18:12:52 | 显示全部楼层
多谢啦!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-4 17:31 , Processed in 0.068400 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表