socket API(linux)

1.socket函数缓存  (1)定义网络    做用:建立socket数据结构 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int socket(int domain, int type, int protocol); (2)参数dom domain     设置网络通讯域,即通讯的协议设置
相关文章
相关标签/搜索