Re: DNS Lookup

new topic     » goto parent     » topic index » view thread      » older message » newer message

Whoops! I changed a few variable names before I posted it to make it more
readable.
Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.ratsoft.freeserve.co.uk/

Get paid to surf the web!
http://members.tripod.co.uk/paid2surf/
----- Original Message -----
From: Bernie Ryan <xotron at BUFFNET.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, April 28, 2000 9:18 PM
Subject: Re: DNS Lookup


> On Fri, 28 Apr 2000 21:33:10 +0100, Thomas Parslow (PatRat)
> <patrat at INAME.COM> wrote:
>
> >constant WSOCK32 = open_dll("wsock32.dll")
> >atom gethostbyname
> >gethostbyname =  define_c_func(WSOCK32,"gethostbyname",{C_LONG},C_LONG)
> >memDNS = allocate_string("www.infoseek.com")
> >? c_func(dllgethostbyname,{memDNS})
> >free(memDNS)
> >
>
> >? c_func(dllgethostbyname,{memDNS})
>
> shouldn't this be c_func(gethostbyname,{memDNS})
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu