Hi Folks,
I am trying to learn about sockets, and I wrote 2 separate small
test programs; SocketServer and SocketClient. What I am trying to do is get user input from console (a
String) in the SocketClient class and send it to SocketServer. Then SocketServer is suppossed to send the same String back to SocketClient and SocketClient will display it. When I execute the programs, type some input and press Enter it does nothing. I need an extra pair of eyes to help me figure out what is wrong. It is probably something simple, but if you could please take a look.
SocketServer class:
SocketClient class:
I really appreciate the help!!!
Barry