Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

ADC Home > Networking >
 
Networking

Networking

This page lists the top issues reported by developers to Apple's Developer Technical Support group.

Packet Trace
For information about taking a packet trace on Mac OS X, see Technical Q&A 1176 "Getting a Packet Trace".
Dynamic TCP/IP
Technical Note 1145 "Living in a Dynamic TCP/IP Environment" includes many helpful hints about how to handle the dynamic TCP/IP environment that is common for Macintosh computers.
Security
Many developers moving from traditional Mac OS to Mac OS X encounter security restrictions on the new system. Specifically, a Mac OS X program must have special privileges in order to bind to a TCP or UDP port less than 1024, to open a raw IP socket (for example, to send a ping), or to access raw Ethernet packets. For general information about security on Mac OS X, see the Security web page. In addition, the following samples may be of interest.
  • MoreAuthSample, for binding to low-numbered ports
  • SimplePing, for implementing ping (on Mac OS X version 10.2 and later)
  • BSDLLC Test, for sending and receiving raw Ethernet packets
Primary Ethernet Address
Many developer need to determine the computer's primary Ethernet address, often for copy protection or licensing reasons. The GetPrimaryMACAddress sample shows how to do this.
HTML Rendering
If you need to render HTML in a window (either Carbon or Cocoa), you should use Web Kit.
Launch Services
Network developers often want to "launch" a URL so that it opens in the user's preferred Internet program (web browser, FTP client, mail software, and so on). The recommended way to do this is via Launch Services.