# (wish list) re: connection_ip()

"Adams, Charles" (cadams@msgate.litc.lockheed.com)
Wed, 31 Jul 1996 08:08:00 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    >>>>>

    Well I was just thinking that all net funcs should return IPs
    then if you want the name run it through a tohostname() or somesuch
    and also be able to take "host.name.com" and run it through a
    toip().  Then you have full control in-db as oppposed to being
    at the whim of the DNS process, your DNS, and other things.
    <<<<<

    Alternatively, you could just do what Java does and take either IP addresses
    _or_ hostnames as addresses and let the server figure it out.

    As for connection_ip(), it sounds good but actually, I'd prefer a
    generalized IP<->name converter function, one that doesn't require an
    existing connection to work.