• 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: Bah, Networking Woes!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bah, Networking Woes!


  • Subject: Re: Bah, Networking Woes!
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 10 Jul 2001 09:11:19 -0700

On Tuesday, July 10, 2001, at 03:04 AM, Graham Wihlidal wrote:

CFSocketConnectToAddress(s, addr, 0);

From the header:

Addresses are stored as CFDatas containing a struct sockaddr
appropriate for the protocol family; make sure that all fields are
filled in properly when passing in an address.

In this case, addr should be a CFData containing a struct sockaddr_in. You need to do the hostname resolution yourself.

Douglas Davidson


  • Prev by Date: Graphics to PDF file?
  • Next by Date: Networking / NSL Manager
  • Previous by thread: Bah, Networking Woes!
  • Next by thread: Getting an NSView's size
  • Index(es):
    • Date
    • Thread