Buggy file server program

BlitzPlus Forums/BlitzPlus Beginners Area/Buggy file server program

I have a file server program which is written in B+ and initialises a TCP connection, and then loads a file with OpenFile. I am a veteran B2D programmer, and I understand Blitz's syntax, but I am new with the TCP stuff. I'll get packet sniffer details to you if you ask for them, and source too. Is is because I just can't use file access commands and TCP commands at the same time? I tried reversing the order of OpenFile and AcceptTCPConnection, but to no avail. It gives me the error "Invalid TCP stream identifier" or something to that effect.