【读书笔记】客户端套接字

来源:互联网 发布:pm2.5防雾霾口罩 知乎 编辑:程序博客网 时间:2024/05/29 17:04

说明:本章是《Java网络编程》第十章,与第十一章服务器端套接字有密切的联系。

《Java网络编程》是O'Reilly精品图书,详细介绍在http://www.china-pub.com/computers/common/info.asp?id=3345。第二版和第三版的英文版已经上传到毕业设计的公共信息jstvu2005@163.com,请注意查收。

1 A socket is a connection between two hosts. It can perform seven basic operations:

• Connect to a remote machine
• Send data
• Receive data
• Close a connection
• Bind to a port
• Listen for incoming data
• Accept connections from remote machines on the bound port

原创粉丝点击