This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line! See this thread for details.
I wrote an applet which listens for UDP messages and which sends UDP messages as well. I signed the applet in order to make it work when downloaded from a web server. The applet lauches 2 threads: - a thread for listening for datagram messages - a thread which functions as a heartbeat by sending datagram messages
The problem is that the thread which functions as a heartbeat seems to be the only one which is allowed to use sockets. When I try to call a function on the Applet's thread which should send a message I get an error: