RE: DNS'ing an IP_Address

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

On 11 Feb 2001, at 12:09, Chris Bensler wrote:

> I should be more specific..
> 
> I don't want to connect to a dynamic IP address..

If it's not dynamic, then why not put the ip# into an ini or config file, so if
the file exists,
the user isn't prompted for it?

> I simply don't want my users to have to enter in a numeric address to 
> connect to. They should be able to enter the web address..

Ok, still, look at the functions in WebShepard. Technically, when you type in a 
www.whatever.com into WebShepard, you do not connect to that, you connect to the
IP# after WebShepard DNS's it.
 
> Like most Chat clients allow..

Why not use an existing chat client? While Eu is nice, and i applaud your
efforts, and
i'd like to see a mirc-like client written in Eu, the fact is that mirc already
exists, and if
you place an ircd on the eu.net, mirc will connect *now*, with no code written
at all.

If you should wish to run Eu scripts, it's easy as pie to connect an eu.exe to
mirc, or
one of the several Eu interpreters written in Eu, or maybe David's Py. Mirc runs
an
exe, several threads, and interprets code written in mirc language. It's got a
huge
leadtime on whatever you write in Eu, and a huge installed userbase. Btw, did
you
know you can write an ircd in mirc, the irc client? but it is slow as hell,
because it is
interpreted, slowly, so it would be limited to a dozen users at once.
 
> IE connect to Dalnet.com, not 123.4.etc.etc

You don't connect to dalnet.com, altho if they put a ircd on that name, you
could,,, but
for dalnet you'd connect to the generic Dalnet: "/server irc.dal.net 7000", or
whatever
specific server you'd like, such as "twisted.dal.net". Mirc does the dns like 
WebShepard does, and then connects to that ip#. In fact, i bet tonite i could
come up
with a patch for WebShepard that makes it look like the old telnet clients, or
simply
tell Tiggr to connect to an Eu.net rather than her mirc gui frontend. For a irc
server or
client, check out "hackserv" in the Eu archives too. Did you look at Hawke`'s 
Eu_Server in the archives yet?

Kat

> 
> Chris
> 
> Kat wrote:
> > On 11 Feb 2001, at 10:17, Chris Bensler wrote:
> > 
> > > I'm working on a chat program..
> > > But I'm wondering how I can get the IP address given a Web address..
> > > 
> > > IE..
> > > 
> > > some.site.com = 123.4.5.6
> > > 
> > > if someone enters a web address, how do I convert it to the IP? Or do I 
> > > need to..
> > 
> > Well, you could call the routines in WebShepard (in archives, for 
> > windoze), use mirc /dns (like i 
> > do most of the time), or use NSI lookup (at 
> > http://www.networksolutions.com/cgi-
> > bin/whois/whois) which will give you the ip number range given to that 
> > domain. 
> > 
> > > Specifically, this pertains to eulibnet..
> > 
> > What is that again? And why would it want to connect to a dynamic ip 
> > http web address? If 
> > you have a domain registered, the ip# will be static as long as the host 
> > doesn't change. Even 
> > then, if you have a redirector as the primary ip#, such as a web addess 
> > at xoom or whereever, 
> > the chat client can pick up the correct ip# there and connect to it, the 
> > redirect can be coded 
> > any number of ways.
> > 
> > Kat
> > 
> > 
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu