通用套接字选项和TCP套接字选项
1. 套接字选项函数原型:#include <sys/socket.h>int getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen);int setsockopt(int sockfd, int level, int optname, const vo...