About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
Akagi201
9/22/2014 - 11:21 AM
share
Share
add_circle_outline
Save
socket.md
socket.md
content_copy
file_download
Rendered
Source
tutorial
http://www.lowtek.com/sockets/
向被对方关闭的socket写入时,如何避免收到SIGPIPE
http://hqwrong.github.io/2015/07/28/socket_epipe.html
bind失败问题
http://www.cnblogs.com/hnrainll/archive/2011/10/14/2211150.html
常用函数
inet_ntoa
: 把long类型的ip地址转换为点十分割的ip地址
inet_addr
: 与
inet_ntoa
相反
clear