Добавить
Уведомления

Win64 Get ip address by name NASM GCC GOLINK

; ------------------------------------------------------------ ; ; This is: Win64 Get ip address by name NASM, GCC, GOLINK. ; Author: J.K. Encryptor256 ; Date: November 24, 2013 ; Why: Why not! ; ; ------------------------------------------------------------ ; ; Video resolution: 1680x1050 ; ------------------------------------------------------------ ; ; Description: ; Initialize network library. ; Get ip address from name. ; Print result. ; De-Initialize network library. ; ; ------------------------------------------------------------ ; ; Using: ; ; 1. NASM: (http://nasm.us/) ; ; "The Netwide Assembler, NASM," ; "is an 80x86 and x86-64 assembler designed" ; "for portability and modularity." ; ; 2. MINGW64-GCC: (http://mingw-w64.sourceforge.net/) ; ; "Mingw-w64 delivers runtime, headers and libs for" ; "developing both 64 bit (x64) and 32 bit (x86) windows" ; "applications using GCC and other free software compilers." ; ; 3. GoLink: (http://www.godevtool.com/) ; ; "Jeremy Gordon's Go Tools for Win32 and Win64:" ; "assembler, resource compiler," ; "linker, debugger and information" ; ; ------------------------------------------------------------ ; ; Compile: ; ; 1. NASM.EXE: ; "-f win64 main.asm -o main.obj" ; ; Output size: 3.07 KB (3,148 bytes) ; ; Choose your linker: ; ; 2. GCC.EXE: ; "main.obj -m64 -o main.exe -lWs2_32" ; ; Output size: 47.3 KB (48,463 bytes) ; ; 3. GoLink.EXE: ; "/entry main /console main.obj MSVCRT.dll Ws2_32.dll" ; ; Output size: 2.50 KB (2,560 bytes) ; ; ------------------------------------------------------------ ;

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

; ------------------------------------------------------------ ; ; This is: Win64 Get ip address by name NASM, GCC, GOLINK. ; Author: J.K. Encryptor256 ; Date: November 24, 2013 ; Why: Why not! ; ; ------------------------------------------------------------ ; ; Video resolution: 1680x1050 ; ------------------------------------------------------------ ; ; Description: ; Initialize network library. ; Get ip address from name. ; Print result. ; De-Initialize network library. ; ; ------------------------------------------------------------ ; ; Using: ; ; 1. NASM: (http://nasm.us/) ; ; "The Netwide Assembler, NASM," ; "is an 80x86 and x86-64 assembler designed" ; "for portability and modularity." ; ; 2. MINGW64-GCC: (http://mingw-w64.sourceforge.net/) ; ; "Mingw-w64 delivers runtime, headers and libs for" ; "developing both 64 bit (x64) and 32 bit (x86) windows" ; "applications using GCC and other free software compilers." ; ; 3. GoLink: (http://www.godevtool.com/) ; ; "Jeremy Gordon's Go Tools for Win32 and Win64:" ; "assembler, resource compiler," ; "linker, debugger and information" ; ; ------------------------------------------------------------ ; ; Compile: ; ; 1. NASM.EXE: ; "-f win64 main.asm -o main.obj" ; ; Output size: 3.07 KB (3,148 bytes) ; ; Choose your linker: ; ; 2. GCC.EXE: ; "main.obj -m64 -o main.exe -lWs2_32" ; ; Output size: 47.3 KB (48,463 bytes) ; ; 3. GoLink.EXE: ; "/entry main /console main.obj MSVCRT.dll Ws2_32.dll" ; ; Output size: 2.50 KB (2,560 bytes) ; ; ------------------------------------------------------------ ;

, чтобы оставлять комментарии