Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

XMLSocket issue with Sparc Netscape!

Posted on 2004-03-23
12
Medium Priority
?
229 Views
Last Modified: 2010-04-03
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);
out.flush();


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.
Any ideas?
0
Comment
Question by:clam61
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 
LVL 5

Expert Comment

by:stef4s
ID: 10664882
Try putting a null  character at the end of the data stream. I think TCP streams need that. (dont know what value eof is).

also: try to send xml data (tags etc) I know flash will only allow data in xml.
0
 

Author Comment

by:clam61
ID: 10672531
i already send the null character. i also send xml data.  however flash will accept anything, not just xml data.

i am getting the data, but like i said, only after i shut down teh server does the data seem to go through.
0
 
LVL 5

Expert Comment

by:stef4s
ID: 10674763
I use port 2400. try that.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:clam61
ID: 10675207
stef4s,

do you work off of a Solaris SPARC?  What browser are you using?
0
 
LVL 5

Expert Comment

by:stef4s
ID: 10675778
Windows only sorry
0
 
LVL 5

Expert Comment

by:stef4s
ID: 10675793
which version of Flash r u using?
0
 

Author Comment

by:clam61
ID: 10683648
flash MX for Solaris (SPARC) Netscape.  Seems like no one is using this platform!
0
 
LVL 5

Accepted Solution

by:
stef4s earned 2000 total points
ID: 10684725
have you tried using Flash 5 export. Might be worth a try.

(So I guess Windows is not the only OS with issues :) )
0
 

Author Comment

by:clam61
ID: 10746565
sparc solaris has only flash mx.

it surprised me that a basic functionality like this doesnt work.

anyone with sparc solaris wanna give test out a movie?  perhaps its just a setting on my machine
0
 
LVL 5

Expert Comment

by:stef4s
ID: 10755242
Im sure that you can export to flash 5. check your publish settings
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question