Re: Network programming
Re: Network programming
- Subject: Re: Network programming
- From: Graham Wihlidal <email@hidden>
- Date: Sun, 02 Sep 2001 00:12:06 -0600
>
> Check out CFSocket in CoreFoundation (not documented but has all the
>
> function headers and descriptions in the CFSocket header file)
>
>
I heard from someone that CFSocket is a bit crap and quite buggy at the
>
moment. I haven't used it myself, though, and it's also still a C API,
>
and not OO.
I have used it and for the most part it works how I'd like, but I am having
some problems (doesn't seem to be my code either)
Few things I've seen
* Garbled junk added to beginning and ending of sent data
* "NeXTScreen" appeared in some recieved data? That was extremely odd
* It recieves commands from my server in duplicates sometimes (through one
callback, yet TCPFlow and TCPDump recieve only one?)
I am getting to the point of dropping CFSocket altogether for now, am just
use a thread to poll for data?
~Graham