dns
Constantinos A. Kotsokalis
C.Kotsokalis at ece.ntua.gr
Mon Mar 8 02:35:20 EET 1999
On 8 Mar 1999 00:34:38 +0200, Vasilis Vasaitis wrote:
>On Sun, Mar 07, 1999 at 02:01:59AM +0000, Constantinos A. Kotsokalis wrote:
>> Lucky man, to exw etoimo :-) Kanei hostname -> IP address & kai to
>> antistrofo. Here it comes.
>
> Kale mou anthrope, i gethostbyaddr ti douleia exei edo pera? To
>programma douleuei to idio kala an o parapano kodikas pou exo kanei quote
>antikatastathei me to eksis tmima tou:
>
> if ((hp = gethostbyname(argv[1])) == NULL){
> herror("gethostbyname"); /* invalid hostname */
> exit(h_errno);
> }
>
Kale mou anthrwpe, 3anadiavase tis dyo prwtes grammes pou ekanes quote:
``Kanei hostname -> IP address & kai to antistrofo.''
_________________________________^^^^^^^^^^^^^^^^^
Etyxe na to exw etoimo, kai ekrina skopimo na mhn ka8omai na kobw
kai na rabw epeidh to palhkari zhthse na kanei mono hostname -> IP.
--C
--
Constantinos A. Kotsokalis || C.Kotsokalis at ece.ntua.gr
National Technical University of Athens - GREECE
Electrical and Computer Engineering Department
"111111111 * 111111111 = 12345678987654321"
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list