коннект не работает пишет file not found Код (Text): .686 .model flat,stdcall option casemap:none include net1.Inc include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\wsock32.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\wsock32.lib SOCKADDR struc sin_family dw ? sin_port dw ? sin_addr dd ? sin_zero db 8 dup (?) SOCKADDR ends .data wsadata WSADATA <> server db "google.ru",0 msg db "OLEH servername" succ db "succsess",0 extms db "exiting",0 conmsg db "connected",0 ip db "74.125.39.99",0 .data? hsocket dd ? buf dd ? saddr SOCKADDR <> ipnum dd ? .code start: invoke WSAStartup, VERSION1_1, addr wsadata cmp eax, 0 jne exit invoke socket, AF_INET, SOCK_STREAM, IPPROTO_TCP mov hsocket, eax mov saddr.sin_family, AF_INET invoke htons, 80 mov saddr.sin_port, ax ;invoke gethostbyname, addr server ;mov eax, dword ptr [eax+12] ;mov eax,dword ptr [eax] ;mov eax,dword ptr [eax] mov saddr.sin_addr, eax ;------ invoke inet_addr, addr ip mov ipnum, eax mov saddr.sin_addr, eax ;------ invoke connect, hsocket, addr saddr,size SOCKADDR invoke WSAGetLastError test eax, eax jnz exit invoke MessageBox,NULL,addr conmsg,NULL,MB_OK invoke send, hsocket, addr msg, 15, 0 invoke recv, hsocket, addr buf, 4, 0 cmp eax, "022" jne skip invoke MessageBox,NULL, addr succ,NULL,MB_OK skip: invoke closesocket, hsocket exit: invoke MessageBox,NULL,addr extms,NULL,MB_OK invoke ExitProcess, 0 end start