Java server for instant messaging
Post a Reply
|Oldest Newest Rating|
· April 7, 2015
I believe you need to implement a server program which listens for incoming
client requests using the ServerSocket and Socket classes. you have to pass the
IP and Port number of the localhost(your computer in this case) as arguments to the ServerSocket()
constructor. If you are connected to the internet as in having a server, you can access your
java server program by passing the hostname of the server and the port the
ServerSocket is listening on - as arguments to the Socket() constructor.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|