[fpc-pascal] Resolving a local hostnames to an IP address

2012-04-13 Thread Mark Morgan Lloyd
I need to resolve a hostname to an IP address, to pass to a minimal telnet implementation that expects that as its parameter. The reason that I'm not using something industrial grade like Synapse is that I'm trying to restrict myself to standard libraries so that I can ship sources to people

Re: [fpc-pascal] Resolving a local hostnames to an IP address

2012-04-13 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: a particular development system but if it happens to me it might happen to others. In short, how best should I work around this? Have a look at unit cnetdb.pp in fcl-net package. ___ fpc-pascal

Re: [fpc-pascal] Resolving a local hostnames to an IP address

2012-04-13 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: a particular development system but if it happens to me it might happen to others. In short, how best should I work around this? Have a look at unit cnetdb.pp in fcl-net package. Thanks Marco, now working. I see