I'm getting into deeper Java programming and need to know if there is a way to let applets on two different machines communicate directly over the internet.
I would think you could.... considering Yahoo! Chat, and Yahoo! Games are made using Java and they do the same thing you are talking about but I have no clue how to do it, sorry.
I'm not sure if their systems communicate through a server program or if the applets can talk directly to each other. But that is exactly the type of project I'm working on.
Hope this helps,
Leon If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best
Naw thats not it, but thanks for the help. I'm trying to do peer to peer communication over the internet meaning I want the applets to talk on 2 different machines across the internet.
Ohh...ok, then take a look at the java.net package. You can use UDP or Socket connection but preferably Socket since you are trying to communicate over the internet.
I think you will have to get your applet signed in order for them to start talking. And perhaps it would be good to have a "server" applet if you have more than 2 client's talking with 1 another.
Regards,
Leon
(p.s. this can definately work because I have done a LAN game (applet too of course) and within it, it allows you to chat with one another.) If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.