• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run Socket Chat Program on RedHat Linux?  RSS feed

 
Mukesh Kumar Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm done with SimpleChatClient given in HeadFirst Java chapter15.
But in my College, they've Linux Redhat Server and All the Computers are connected to it.

What modifications will be required to run that Program on Linux Redhat, so that I can chat with all my friends connected on the network?
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Java Ranch!

One nice thing about Java is the same .class files should run the same on all operating systems, so you won't have to modify anything to make it run on Linux as opposed to, say, Windows. However, for you to actually use the chat client with your friends, there will have to be a chat server accessible across a network, and all your friends will have to run the same client, or at least a client compatible with that server. I don't have the HeadFirst book, so I don't know the specifics of the chat client you refer to, but they must mention a server, right?
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, your server will have to have the ports listened to by the chat server open, which is unlikely in an "enterprise" environment like a college. Is there an administrator you can speak with to make sure?
Have you tried? If so, what happened?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!