• 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
Raw Sockets using CF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Raw Sockets using CF


  • Subject: Raw Sockets using CF
  • From: Mark Grimes <email@hidden>
  • Date: Fri, 19 Dec 2003 16:56:32 -0800

Is it possible to use CFSocket for developing a raw socket based application? I would prefer to use the Core Foundation for networking as I would like to simulate connection based sockets but maintain full control of the TCP/IP headers. In turn I would like to be able to use CFRunLoop to control these network events.

Every example I have seen utilizes connected BSD sockets were a stream or dgram is being declared with automagic handling of the protocol header fields.

I did a cursory check of the archives and found no mention of this so I am tossing this one to the list.

If anyone has had success with utilizing CF for raw socket usage or can point me to examples of such I would be most grateful. I did not want to embark on this venture of CF-ifing my existing packet injection engine if I am barking up the wrong tree and this is not possible.

Thanks in advance!

Mark Grimes <email@hidden>
Stateful Labs
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Raw Sockets using CF
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: ThreadSafe issue with CFSocket
  • Next by Date: Kernel Panic 10.2.3 with CFSocketInvalidate & Raw Ethernet
  • Previous by thread: Re: ThreadSafe issue with CFSocket
  • Next by thread: Re: Raw Sockets using CF
  • Index(es):
    • Date
    • Thread