原创 Linux-Soket網絡編程及套接字(服務器發給客戶端)

1、socket函數 int socket(int domain,int type,int protocol); 功能說明: 調用成功,返回socket文件描述符;失敗,返回一1,並設置errno 參數說明: domain指明所