thanks a bunch, this is great!

tom
On Nov 7, 2010, at 2:40 PM, Dave Carrigan wrote:

> 
> On Nov 7, 2010, at 2:31 PM, Kyle Sluder wrote:
> 
>> On Nov 7, 2010, at 2:24 PM, Tom Jones <tjo...@acworld.com> wrote:
>> 
>>> Ops, thanks! 
>>> 
>>> I have not really done much with sockets. Is there an example you know of 
>>> that I can learn from?
>> 
>> THE guide to socket programming: http://beej.us/guide/bgnet/
> 
> Specifically, section 5.4 has pretty much all the code you need, other than 
> checking the return result of connect and possibly looking at errno. Don't 
> forget to call freeaddrinfo() at the end or you'll leak memory.
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to