å¤ãªçµæãåºããµã³ã㫠以ä¸ã®ä¾ã§ã¯ãäºã¤ã®ãã¹ããè¡ã£ã¦ãã¾ãã 127.0.0.1ã¨255.255.255.255ã®ä¸¡æ¹ãçµæã¨ãã¦è¡¨ç¤ºããã¦æ¬²ããã®ã§ãããå®éã«ã¯çæ¹ãã表示ããã¾ããã #include <stdio.h> #include <winsock2.h> int main() { struct in_addr inaddr1, inaddr2; WSADATA wsaData; char *ptr1, *ptr2; /* åæå */ WSAStartup(MAKEWORD(2,0), &wsaData); /* test 1 */ inaddr1.S_un.S_addr = inet_addr("127.0.0.1"); inaddr2.S_un.S_addr = inet_addr("255.255.255.255"); printf("%s, %s\n", in
{{#tags}}- {{label}}
{{/tags}}