View Single Post
  #4 (permalink)  
Old March 21st, 2002
gbrayut gbrayut is offline
Devotee
 
Join Date: December 31st, 2001
Location: Sandy, ut
Posts: 22
gbrayut is flying high
Default Simple

Yes, just find the ip number of the hostname.


Easiest way would be to just ping it, which would return the ip address.


Example:

goto the command line and type

ping www.yahoo.com
it says Reply from 64.58.76.176

so if you wanted to add www.yahoo.com:6346 (just an example)

you would use the ip/port number
64.58.76.176:6346



PS. I made a small program that converts a list of ip numbers for use in the hostslist, but so far they havent helped me much. I haddn't thought about adding the hostcaches (such as the ones you listed) but that might be a good idea. The program i made is in yabasic, so i dont think it is good for distribution (i dont really know much programing) its more just for my own personal use.

Also i have been having some problems in creating hostlist from scratch. It appears that xolox reads from the bottom of the list first, and i havent figure out how the list is ended. If i just use an encoded list it won't try to ping any of them. The best way is to put a list of encoded ips in the middle of the list.

gbray
Reply With Quote