I'm learning Java networking(IBM class). As a beginner, my code is compile and run smoothly except it displays one only one message on console even though I try re-send the message again and again. Would you please to help me out? Do I miss a thing? Thanks in advance Kasem
[ January 04, 2004: Message edited by: Kasem Boonmun ]
The most likely cause is that you need to flush and close the BufferedReader at the end of your while loop. This sort of program works better when you start a separate thread for each request but that is probably beyond the scope of your study right now.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher