Amar546
Amar546

Reputation: 73

object sending through socket between actionscript server and java client

I have a sever socket in actionscript and client socket in java.I can send a string from java to actionscript but i cannot send an object through socket.I tried to use objectOutputstream and ObjectInputStream in java but while running it is throwing exceptions like invalid stream header.Is there any way to exchange objects between java client socket and ActionScript server socket.if yes pls tell me how?

Upvotes: 1

Views: 263

Answers (1)

Andrey Popov
Andrey Popov

Reputation: 7510

AMF - there is a built in (de)serializator and works like a charm. Efficient and fast. Check it out.

Upvotes: 2

Related Questions