FMIceLinkServerAddress Class Reference

Inherits from FMIceLinkTransportAddress : NSObject
Declared in FMIceLinkServerAddress.h
FMIceLinkServerAddress.m

Overview

An IP address and port, along with an optional public IP address for listening behind a 1:1 NAT.

– initWithIPAddress:port:

Initializes a new instance of the FMIceLinkServerAddress class.
- (instancetype)initWithIPAddress:(NSString *)ipAddress port:(int)port

Parameters

ipAddress

The IP address.

port

The port.

Discussion

Initializes a new instance of the FMIceLinkServerAddress class.

Declared In

FMIceLinkServerAddress.h

– initWithIPAddress:port:publicIPAddress:

Initializes a new instance of the FMIceLinkServerAddress class.
- (instancetype)initWithIPAddress:(NSString *)ipAddress port:(int)port publicIPAddress:(NSString *)publicIPAddress

Parameters

ipAddress

The IP address.

port

The port.

publicIPAddress

The public IP address.

Discussion

Initializes a new instance of the FMIceLinkServerAddress class.

Declared In

FMIceLinkServerAddress.h

– publicIPAddress

Gets the public IP address.
- (NSString *)publicIPAddress

Discussion

Gets the public IP address.

Declared In

FMIceLinkServerAddress.h

+ serverAddressWithIPAddress:port:

Initializes a new instance of the FMIceLinkServerAddress class.
+ (FMIceLinkServerAddress *)serverAddressWithIPAddress:(NSString *)ipAddress port:(int)port

Parameters

ipAddress

The IP address.

port

The port.

Discussion

Initializes a new instance of the FMIceLinkServerAddress class.

Declared In

FMIceLinkServerAddress.h

+ serverAddressWithIPAddress:port:publicIPAddress:

Initializes a new instance of the FMIceLinkServerAddress class.
+ (FMIceLinkServerAddress *)serverAddressWithIPAddress:(NSString *)ipAddress port:(int)port publicIPAddress:(NSString *)publicIPAddress

Parameters

ipAddress

The IP address.

port

The port.

publicIPAddress

The public IP address.

Discussion

Initializes a new instance of the FMIceLinkServerAddress class.

Declared In

FMIceLinkServerAddress.h