Computer Science Canada Java Networking - Creating a Web Messenger |
Author: | gsquare567 [ Wed Sep 19, 2007 1:54 pm ] |
Post subject: | Java Networking - Creating a Web Messenger |
what i want to attempt is to have two computers, running the same java application, to be able to send and receive text in the command prompt box. i am wondering how this can be done, mainly the networking part. thanks for the help! EDIT: ok, since 4 java mods have looked at this and not answered, i assume i was not specific enough in my question. how would i connect two computers, possibly even on different networks, each with an internet connection, to connect? how do i establish a socket on the other computer's port? would they both need to use the same port? or am i thinking in the totally wrong direction? |