grimmer0125 / p2pMessenger

This demo project uses a WebSocket signal server to exchange the IP information of every pair of iOS clients and constructs a P2P STUN channel to exchange text messages. STUN is a part of WebRTC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

p2pMessenger

It uses the following two libraries to finish a iOS app to demonstrate the process of P2P hole punching. After establishing P2P connections, people can send messages to the others.

libPusher

https://github.com/lukeredpath/libPusher. This websocket library is used to implement the signaling part.

License: MIT. Copyright (c) 2010 Luke Redpath

PJSIP

www.pjsip.org. This is used to implement hole punching STUN part.

License: Either GPL 2.0/Later OR Commercial license, reference: http://www.pjsip.org/licensing.htm

License

p2pMessenger is released under the GPL v3.0 license. This is due to using PJSIP.

About

This demo project uses a WebSocket signal server to exchange the IP information of every pair of iOS clients and constructs a P2P STUN channel to exchange text messages. STUN is a part of WebRTC.

License:GNU General Public License v3.0


Languages

Language:C 83.0%Language:C++ 8.5%Language:Objective-C 7.4%Language:Ruby 0.3%Language:Makefile 0.2%Language:Python 0.2%Language:Shell 0.2%Language:Batchfile 0.1%Language:Assembly 0.1%Language:HTML 0.0%