tcpwritestr can only handle normal strings.
this means you need to use tcpwrite and send the CR+LF yourself.
when your data is bigger than the socket size, you need to break it up.
So say your data is actual 5000 bytes, and the socket write size is 2048 bytes, you send chunks of 2048. Just use an offset. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum