• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Network programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Network programming
      • From: Georg Tuparev <email@hidden>
References: 
 >Re: Network programming (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Datasource for tableview and more
  • Next by Date: Re: The unquittable App
  • Previous by thread: Re: Network programming
  • Next by thread: Re: Network programming
  • Index(es):
    • Date
    • Thread