| Share this post! | Vote this! |
|
There are two JAVA objects in the API that are interesting to us. The ServerSocket and the Socket
object. One to accept socket connections from the client and the other
to connect to the server. Does it sound too simple? It's is! In fact,
you'll run into problems with synchronization way more often than
connecting the clients. Let's connect a simple client to a simple
server! Compile both programs and run them as two different instances of
a program. more..



0 comments:
Post a Comment