Hi Bruce,
Bruce Stephenson wrote:
> Hi-
>
> Is there any way (or any plans for a way) to determine the IP address of
> a Vnet visitor IN REAL TIME? Ideally, this would be done through the
> applet, and could be done both manually and via a programmatic public
> method.
VNet currently uses an integer id number to label each user. The server
surely knows the IP-addresses of all connected clients. It would be easy
(with some hacking) to have the server send the IP address of each
clients to all clients. Maybe it could be done in a similar fashion as the
server send the username to clients.
> I am in the process of building an open-source multiuser voice chat
> system based on the SpeakFreely IP Telephony program. One that works
> WITHOUT A CENTRAL SERVER . Anyone familiar with multiuser voice chat
> systems should say "What! How do you do that?"
In an application I�m working on, there is support for IP-Multicast (A serverless
connection) that uses the IP address of the clients to identify them. There is also
support for VNet and DeepMatrix in JavaMOO (http://this.is/javamoo/) and it
knows the IP addresses of all connected clients no matter what mu protocol you
are using including VNet.
> We still months fromhaving even a beta release.
> Anyway, IP telephony requires that you know the IP address of the person
> you are talking with. Since I would like to eventually combine shared
> 3D worlds with voice chat (e.g. Traveller, but open source and much
> cheaper to run)
Great, I would love to enter the alpha test phaze ;)
> , I am looking for a way to to get an IP address out of Vnet.
> I have not looked at the vnet source code, but can run a vnet server.
> If it's not possible now to get the IP address, the simplest way would
> be to create a public java method
> GetIPAddress(index)
> It could then be accessed via JavaScript without modifying the interface
> of the EAISceneInterface applet at all. The applet already has
> "MAYSCRIPT" turned on.
Because all communications go trough the server its not possible to get the
clients IPs without making some changes, but VNet is GNU so you can do
those changes your self or get some people interested in your project to do it
for you ;). Then if the original author likes the changes they might be incorporated
into the official release.
With warm regards,
R�bert Vi�ar Bjarnason
[EMAIL PROTECTED]