Latest 0.1.0
Homepage https://github.com/kimar/MKIPorter
License MIT
Platforms ios 2.0, requires ARC
Authors

Gets you a random free TCP Port using C APIs

[![CI Status](http://img.shields.io/travis/Marcus Kida/MKIPorter.svg?style=flat)](https://travis-ci.org/Marcus Kida/MKIPorter)
Version
License
Platform

Usage

You may use a Singleton Instance of MKIPorter to allocate a free TCP Port like this like this:

MKIPorter *porter = [MKIPorter sharedInstance];
NSError *error;
NSInteger port = [porter allocatePort:&error];
if (error) {
    NSLog(@"An error occured: %@", error);
    return;
}
NSLog(@"Free Port: %d", port);

Requirements

Installation

MKIPorter is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MKIPorter"

Author

Marcus Kida, [email protected]

License

MKIPorter is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MKIPorter",
    "version": "0.1.0",
    "summary": "Gets you a random free TCP Port using C APIs",
    "homepage": "https://github.com/kimar/MKIPorter",
    "license": "MIT",
    "authors": {
        "Marcus Kida": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kimar/MKIPorter.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/kidmar",
    "platforms": {
        "ios": "2.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "MKIPorter": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This