摘要:
IPv4地址的结构体 /* Fixed-size types, underlying types depend on word size and compiler. */ typedef signed char __int8_t; typedef unsigned char __uint8_t; t 阅读全文
摘要:
服务端套接字创建过程 第一步:调用socket函数创建套接字 //成功时返回文件表述符,失败时返回-1 int socket(int __domain, int __type, int __protocol) domain:套接字使用的协议族(Protocol Family)信息; type:套接字 阅读全文