Working with the AS3 Socket class, I'm trying to connect to a .NET socket server. I can establish the connection and send and receive data successfully, but if the data from the server-side is greater than 1260 bytes, the packet gets severed.
However, this isn't always the case... My packet is variable in size, and the largest one so far has been 4466 bytes, the smallest under 200. On the first try, I was able to receive all 4466 bytes. However, on the subsequent tries, Flex is only loading in 1260... I know the server is sending all 4466 bytes because I am tracing out the amount of bytes written to the socket after sending (the asynchronous Socket.EndSend method in .NET returns the number of bytes written after sending data across a socket). Here is my trace: INFO: [StatusCommand.execute] Polling server with info object INFO: [ServerDelegate.pollServer_socketConnected] Socket connected! INFO: [ServerDelegate.pollServer_socketDataReceived] Socket data received! [4466 bytes received] INFO: [ServerDelegate.pollServer_socketClosed] Socket connection closed. INFO: [StatusCommand.execute] Polling server with info object INFO: [ServerDelegate.pollServer_socketConnected] Socket connected! INFO: [ServerDelegate.pollServer_socketDataReceived] Socket data received! [1260 bytes received] ERROR: [HomeProxy.pollServer_callback] Error retrieving server results: TypeError: Error #1090: XML parser failure: element is malformed. INFO: [ServerDelegate.pollServer_socketClosed] Socket connection closed. Right now it's an XML string inside the packet that I'm reading, which is why I need to have the whole packet. =) Is there a limitation on the number of bytes that the AS3 socket can receive? Is there any known bug that would cause this problem? Thanks in advance...

