Linux學習筆記10 客戶端服務端編程

socket模型創建流程圖   socket API socket函數 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int socket(int domain, int type, int protocol); domain: AF_INET 這是大多數用來產生socket的協議,使用TCP或UDP來傳輸,用IPv4
相關文章
相關標籤/搜索