一個簡單的socket編程demo

記錄這個demo,至關因而保留一份代碼片斷,之後能夠隨時拿來用,驗證新的想法。人的大腦是很不靠譜的,常常記錯東西,須要保留一個索引,放在這裏。web 服務端 #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <u
相關文章
相關標籤/搜索