Re: Simple Port Traffic?
Re: Simple Port Traffic?
- Subject: Re: Simple Port Traffic?
- From: Douglas Davidson <email@hidden>
- Date: Tue, 29 May 2001 09:20:57 -0700
On Tuesday, May 29, 2001, at 08:21 AM, Eric Doggett wrote:
So my question is this: what's the simplest method to send this traffic
out?
Is this a task for NSSocketPort?
No. NSSocketPort is a class implementing the NSPort abstraction using
network sockets, not a direct interface to TCP. If you want to send an
email message, I would suggest looking at the Message.framework. If you
want to send raw network packets, just use BSD sockets directly. If you
want to send and receive, CFSocket may be of help to you. There are
also third-party networking libraries like OmniNetworking.
Douglas Davidson