Is there any way I can tell flash to not wait for the null byte to accept data from a socket connection?

I'm working with an app on my network that has its own socket server for control, but it does not end it's responses with a null byte, so I have a problem.