CocoaAsyncSocket XCode Project

Closed

Description

I need an extension written for the CocoaAsyncSocket. Normally you can easily startup a server with:

[asyncSocketServer acceptOnPort: 12932 error:&err];

The client are now able to connect to the server with:

[asyncSocketClient1 connectToHost: [url removed, login to view] on- Port: 12932 withTimeout:10.0 error:&aError];

In my example the server has a public ip address [url removed, login to view] and can be reached with the port 12932.

The clients have a local ip addresses and are behind a router / firewall. I've illustrated this with image1.png.

In my project the server should only be used that the clients can find each other. The goal is that the two client start communicating to each other directly without the server. For this client to client communication the already open sockets to the server should be used because the clients are otherwise not reachable through the router / firewall with their local ip address. I've illustrated this with image2.png.

I'm not searching for an explanation how a port forwarding rule is established inside a router or how a firewall is configured but I'm searching for a solution for the challenge described above.

I've read a lot about this in the web but don't want to bring to much theory in here with the hope that somebody already has done this before. Please contact me if you need more background information.

Skills: Cocoa, iPad, iPhone, Mac OS, Objective C

See more: cocoaasyncsocket background, acceptonport, background information example, xcode c, xcode, xcode project, xcode find, port project xcode, port extension, project xcode, client server communication iphone, error iphone, web client iphone, sockets iphone, cocoa firewall, startup project, cocoa project, web sockets, firewall project, opengl game project xcode, iphone project background, create photoshop plugin project xcode, simple radio app project xcode, open project xcode, project background example

Project ID: #4851749

5 freelancers are bidding on average €236 for this job

honeypotant

Dear Sir. I'm talented mobile app/game developer. I have been developing Iphone/android apps for several years. You can see high skilled apps in my portfolios. I'm very interested in your job post involving these More

€721 EUR in 10 days
(31 Reviews)
6.4
Trentsetters

Please CHeck Your PMB!!!! Thank you

€500 EUR in 30 days
(4 Reviews)
5.5
wanggil

Hi, I have read your requirement carefully. I am an iPhone | Android software expert with rich experience. I have done many successful iPhone | android apps and games: single, multi-player, cocos2d, unity3d. And I More

€309 EUR in 3 days
(2 Reviews)
4.0
chenjing2579

Hi, Please check PMB. Thanks.

€144 EUR in 3 days
(1 Review)
4.0
dungnv9

We are group of developers with passion in technology. We have UX designers, Android developers, iOS,Mac OS, Android and web developers. Our team members have at least 3 years experience working in their field. We've d More

€500 EUR in 10 days
(1 Review)
1.7
offenderstechno

please check pmb for more details

€144 EUR in 3 days
(2 Reviews)
0.7
shomratkutub

Ready to start. CHECK PM

€100 EUR in 5 days
(0 Reviews)
0.0
NTechcorporate

Hi, We have expert in-house team of mobile application developers. Please check private message.

€237 EUR in 10 days
(0 Reviews)
0.0
kasiratnam

i would like to work with your project

€155 EUR in 3 days
(0 Reviews)
0.0