计算机网络
z996261271
这个作者很懒,什么都没留下…
展开
-
网络编程之Select
Select函数介绍 ``` #include <sys/select.h> /* According to earlier standards */ #include <sys/time.h> #include <sys/types.h> #include <unistd.h> int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, str...原创 2021-01-19 10:26:34 · 141 阅读 · 0 评论 -
Socket网络编程Linux下TCP Socket编程实例以及基础API
基础api介绍 网络字节序转换 unsigned long int htonl( unsigned long int hostlong); unsigned short int htons( unsigned short int hostlong); unsigned long int ntonl( unsigned long int hostlong); unsigned short int ntonl( unsigned short int hostlong); 通用的Sokcet地址 #原创 2021-01-14 16:11:48 · 154 阅读 · 0 评论