社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
/* Create a new socket of type TYPE in domain DOMAIN, using
protocol PROTOCOL. If PROTOCOL is zero, one is chosen automatically.
Returns a file descriptor for the new socket, or -1 for errors. */
extern int socket (int __domain, int __type, int __protocol) __THROW;
https://pubs.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!