Re: Converting uint16_t port to a NSString
Re: Converting uint16_t port to a NSString
- Subject: Re: Converting uint16_t port to a NSString
- From: "Dorian Johnson" <email@hidden>
- Date: Tue, 5 Jun 2007 08:57:19 -0500
Use the bsd function ntohs to convert that short.
http://www.hmug.org/man/3/htons.php
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden