Invalid message format

quarion
edited March 2013 in Flash (deprecated)
Hello.

When trying to connect with Flash 3.2 Beta SDK it is immediately closing and on a server I am getting message:

CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format, expected first byte to be 0xF0 OR 0xF1 OR 0xF2 OR 0xFC. Got: 0xfb - FB 00 00 00 30 01 01 F4 00 01 06 01 06 00 00 07 46 61 6C 6C 69 6E 67 53 65 72 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ....0...........FallingServer...................

The Policy file is not requested (nothing in the log), but the server is set correctly - Unity3D web player can read policy file.

Do you have any clues? I am not sure what version of server SDK I am using, but probably 3.x - it is not looking like 2.6 and works with newer Unity client SDK. I will try to update it to newest version first.

Comments

  • Ok, after some dll juggling when updating the server SDK I managed to get the client and server talking. I hope there wont be too much trouble now :)