Socket(發送,接收)

send.cpp:html #include <WinSock2.h> #include <stdio.h> #include <Windows.h> #pragma comment(lib,"ws2_32.lib") int main() { unsigned long ip; ip=inet_addr("127.0.0.1"); short port; p
相關文章
相關標籤/搜索