Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

FN-FORUM: XmlSocket problems in flex

date posted 20th November 2007 22:16

Hi,

I'm in the process of building a client application in flex that will
connect to a Java socket server. I have the server side of things setup
so that it receives the message from the client and then just sends out
a simple message back. Ultimately it will receive an XML message which
will contain an action to be performed and parameters for that action.
The server will then execute the action and send the results back to the
client...

At the moment however I can't get the xmlSocket in flex to send out the
data to the server. I have the following code however the server doesn't
receive anything.

socket = new XMLSocket();
socket.connect(hostName, port);
socket.send("test\0");

I have tested the server with putty and everything works as expected.
The server details are shown below.

host: 80.45.70.164
port: 8888

The flex application connects to the server fine because the server
displays a message to say that a new client has connected however no
data is received (i have monitored network traffic with ethereal and
nothing goes out). If anyone has any clues as to why i'd love to know!

Thanks in advance,
James



Messages by Day
November 30th 2007
November 29th 2007
November 28th 2007
November 27th 2007
November 26th 2007
November 25th 2007
November 24th 2007
November 23rd 2007
November 22nd 2007
November 21st 2007
November 20th 2007
November 19th 2007
November 18th 2007
November 17th 2007
November 16th 2007
November 15th 2007
November 14th 2007
November 13th 2007
November 12th 2007
November 11th 2007
November 10th 2007
November 9th 2007
November 8th 2007
November 7th 2007
November 6th 2007
November 5th 2007
November 4th 2007
November 3rd 2007
November 2nd 2007
November 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000