Thread View: pl.comp.lang.pascal
4 messages
4 total messages
Started by Mentor
Sat, 29 Sep 2007 16:02
FPC Jak Pobrać Adres IP Hosta...
Author: Mentor
Date: Sat, 29 Sep 2007 16:02
Date: Sat, 29 Sep 2007 16:02
6 lines
893 bytes
893 bytes
Witam Jak w temacie jak w FPC w systemie Windows Pobrać ip hosta... np 'www.onet.pl' -> 213.180.130.200 ;] Najlepiej przy pomocy Sockets Pozdrawiam
Re: FPC Jak Pobrać Adres IP Hosta...
Author: Łukasz 'Maly' Ostrowski
Date: Sat, 29 Sep 2007 16:29
Date: Sat, 29 Sep 2007 16:29
19 lines
1280 bytes
1280 bytes
Mentor wrote: > Witam > Jak w temacie jak w FPC w systemie Windows Pobrać ip hosta... np > 'www.onet.pl' -> 213.180.130.200 > ;] > Najlepiej przy pomocy Sockets > Pozdrawiam uses winsock; function gethostbyname(name:pchar):PHostEnt; i member h_addr bądź h_addr_list. -- Pozdrawiam, Łukasz 'Maly' Ostrowski. http://maly.nemo.pl/
Re: FPC Jak Pobrać Adres IP Hosta...
Author: Mentor
Date: Sat, 29 Sep 2007 17:18
Date: Sat, 29 Sep 2007 17:18
18 lines
1310 bytes
1310 bytes
Łukasz 'Maly' Ostrowski pisze: > Mentor wrote: >> Witam >> Jak w temacie jak w FPC w systemie Windows Pobrać ip hosta... np >> 'www.onet.pl' -> 213.180.130.200 >> ;] >> Najlepiej przy pomocy Sockets >> Pozdrawiam > > > uses winsock; > > function gethostbyname(name:pchar):PHostEnt; > > i member h_addr bądź h_addr_li Heh a bez winsock ? robie program z myślą o możliwości kompilacji pod windowsa jak i linuxa ;]
Re: FPC Jak Pobrać Adres IP Hosta...
Author: Wiktor S.
Date: Sun, 30 Sep 2007 00:25
Date: Sun, 30 Sep 2007 00:25
15 lines
1252 bytes
1252 bytes
>> uses winsock; >> >> function gethostbyname(name:pchar):PHostEnt; >> >> i member h_addr bądź h_addr_li > > Heh a bez winsock ? robie program z myślą o możliwości kompilacji pod > windowsa jak i linuxa ;] uses sockets i tam będzie coś podobnego do tego gethostbyname. -- Azarien
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads