i wrote a simple socket server in java and a client in flash.
in windows IE it works perfectly, but when I run it on netscape on a Sparc box the client freezes whenever it receives data. only when i stop the server does it unfreeze and display what was sent.
the client and server were based on simple examples i found on the web
has anyone any idea of what the problem could be?
if you might know, let me expand a bit. currently its a simple example. the server echos what it was sent. the client echos to the screen what was received.
my server is java and currently runs on my Sparc machine, port 9999. I know that the flash client can connect to the server, and even send data successfully. this is perfect. however when i send data from the server to the client, the client will freeze. not just the movie but the rest of netscape as well. only when i quit the server does the movie unfreeze and the data that was sent from the server get displayed to the screen. this is how i send data in my sever:
out = new PrintWriter(server.getOutputStream());
out.println("WELCOME" + EOF);
i just tried it out here at home on my windows PC. i used IE and Netscape 7 and it worked fine. The server and the client were on my PC. At work the client was on Windows IE and the server was still on the Sparc machine--this still worked fine. Only when I put the client onto the Sparc machine did it have problems.
Perhap it is a settings issue in my Sparc Netscape, or a port setting issue on my Spart machine.