Latest 0.1.0
Homepage https://github.com/dennycd/gcd-netlib
License MIT
Platforms ios 8.0
Authors

A C++ Networking Library Built on Libdispatch GCD

A TCP socket networking library built on top of Apple’s grand central dispatch (libdispatch).

  • internal serial dispatch queue for IO processing
  • listener and delegate callback using blocks
  • non-blocking socket I/O

The library is cross-platform with build system available for Mac OS, Linux, Node.js and iOS.

Usage


const char* hostname = "localhost";
const char* servname = "8888";

libgcdnet::NetworkAgent server(NetworkAgent::SERVER, NULL); 
server.listen(NULL, servname);

libgcdnet::NetworkAgent client(NetworkAgent::CLIENT,NULL); 
client.connect(hostname, servname);

Author

Denny C. Dai [email protected] or visit http://dennycd.me

License

MIT License

Latest podspec

{
    "name": "gcd-netlib",
    "version": "0.1.0",
    "summary": "A C++ Networking Library Built on Libdispatch GCD",
    "description": "A TCP socket networking library built on top of Apple's grand central dispatch (libdispatch).",
    "homepage": "https://github.com/dennycd/gcd-netlib",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Denny C. Dai": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dennycd/gcd-netlib.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "gcd-netlib/Classes/**/*"
}

Pin It on Pinterest

Share This