![]() |
Message from client to server
Hi guys
My last post did not find any replies.I hope I have not offended anyone.I am new in this forum and this is my second post.I am trying to send a message from client to server and back from server to client.In the client window I get a null whereas in the server window the message is printed. CLIENT HTML Code:
import java.net.*;HTML Code:
import java.io.*; |
Re: Message from client to server
Hi.
It would appear that your server does not run in a loop. The basic principle of a server is that it continues to listen on the socket. Perhaps you'd be better served reading the example at http://systembash.com/content/a-simp...nd-tcp-client/ as it's very clear and easy to understand. Best of luck. |
| All times are GMT +5.5. The time now is 04:57. |