时间同步已经完成

This commit is contained in:
2026-08-28 16:42:44 +08:00
parent b43dede98d
commit ad154b2f7e
20 changed files with 771 additions and 1282 deletions
+1 -2
View File
@@ -76,12 +76,11 @@ int net_poll(void);
* 函数功能:创建 socket
* 入口参数:domain - 地址族,仅支持 AF_INET
* type - SOCK_STREAM(TCP) 或 SOCK_DGRAM(UDP)
* protocol - 通常为 0
* 返回值:socket 描述符 (0~7),失败返回 -1
* 限定条件:net_init() 已调用
* 函数说明:自动分配空闲 Socket 控制块
*/
int net_socket(int domain, int type, int protocol);
int net_socket(int domain, int type);
/*
* 函数功能:绑定本地地址和端口