Something is definitely messed up.....
Something is definitely messed up.....
- Subject: Something is definitely messed up.....
- From: Graham Wihlidal <email@hidden>
- Date: Sun, 15 Jul 2001 15:27:42 -0600
I had originally posted a message about when I send data through a
CFSocket (which was created with the CFSocketCreateNative - or
something like that), the socket would sometimes send garbled text
through it. It sends the text I send, but it adds some weird
characters to the end sometimes. I thought it might be my code, but I
looked it over and can't find ANYTHING that would contribute to this. I
was reading through my socket log I added in (all data sent to my
server) and I noticed it sometimes added " NeXTscreen" without the
quotes. THAT is odd. I search my code and it never appears even once.
This is an extremely weird bug that I feel is not a product of my code,
but the actual CoreFoundation. I am not advanced enough to track this
down, but perhaps someone else could? The only solution
(cough)Hack(cough cough) that could solve this problem of mine, is to
enclose all the data sent to the server in [CHUNK]This is the sent
data[/CHUNK] and make some sort of parsing language to eliminate extra
characters.
I would greatly appreciate any help with this issue. Especially if
someone can take my hacked together code and maybe make it run the same
using an alternate method.
Thank you for your time,
Graham