Register / Login
Sockets and Internet Protocols
The best approch on applet to server communication
posted 11 years ago
My task is to get an
to send and recieve data from a server on a specific port. What is the best approch on recieving and sending data?
1. Open a socket to server send or recive data and close the socket?
2. Open a socket to server. Let the connection be open until the applet closes/ terminates?
What is the best approach?
I will send data almost every second from and to the applet. Is Object reader and writer the stream to use or how do I get all the data from and to the applet.
Images, text, x and y positions.
how to communicate Applet to Servet
How server can send notification without sending n e req.
Applet doesn't establish JDBC connection
socket programming on 2 ports
Can I Have Two-Way Communication with Sockets with just one Port?