Finding an available port for chat
Finding an available port for chat
- Subject: Finding an available port for chat
- From: Development <email@hidden>
- Date: Fri, 17 Jul 2009 15:15:16 -0700
I'm working on a little chat app. It's going to function very similar
to a peer to peer app but across the internet. I have found the
information i need on creating a stream once I know the address. but
there will be persons like myself with draconian isp who block gobs of
ports and make it hard to for chat apps to work. So I am curious, how
can I, in a reasonably economic way, find an open port to talk on? Can
I pass null to CFStreamCreatePairWithSocketToHost for the port and
have it find the port on it's own? Or do I need to hard code a port?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden