Swiftpack.co - Package - ugoArangino/BlueSocketAsyncExample

BlueSocketAsyncExample

This is an example Projekt for the IBM-Swift/BlueSocket Package. IBM provides an example, but it uses only the syncronous acceptConnection() methode.

I extended IBM's example and use Apple's GCD libary functiondispatch_async and the acceptClientConnection() methode.

Run

make clean refetch build run

Test

telnet 0 1337

Get PID

lsof -i:1337 -t

Github

link
Stars: 1
Help us keep the lights on

Dependencies

Used By

Total: 0