Wifi Device to Device Communication problem Wifi Device to Device Communication problem xcode xcode

Wifi Device to Device Communication problem


In the WiTap source Networking/TCPServer.m the socket's port is set to zero (= the kernel chooses a port number, and it takes a value above 50000). You could change that 0 to e.g. 81, and the nosey security setup will no longer classify you as peer2peer. Any value between 1 and 1023 should work.


You should do basic connectivity tests, to determine what exactly that network is blocking.

Start with a simple ping and move on to UDP and TCP levels. You might find that some form of communication is allowed.

If not, you can try to tell their security guys to accept some form of communication between specific range of ip addresses and/or port numbers and adapt your application accordingly.