xiaoshimimi 发表于 2005-7-6 16:54:33

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

/*
* 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是一个协议吗?他有什么具体内容呢?



多谢:)

sejishikong 发表于 2005-7-6 17:56:19

1003.1g 一个关于协议独立接口的标准,该接口可以使一个应用程序通过网络与另一个
应用程序通讯。 1996 年,IEEE 通过了这个标准。

这是POSIX标准的一部分。

xiaoshimimi 发表于 2005-7-6 18:12:52

多谢啦!
页: [1]
查看完整版本: 1003.1g是什么东东?(socket.c中出现)