PlayerIO

The fastest way to build online games without breaking a sweat.

Objective-C Client Reference

Multiplayer  class documentationClass PIOServerEndpoint

Language: Objective-C

The address and port where a game server can be reached

Methods

 
- (NSString*)
address
The port of the server.
+ (id)
endpointWithAddress:port:
Create a new autoreleased ServerEndpoint
- (id)
initWithAddress:port:
Initialize the new ServerEndpoint
- (NSUInteger)
port
The address and port where a game server can be reached

address

The port of the server.

Return Value

NSString*

endpointWithAddress:port:

Create a new autoreleased ServerEndpoint

Arguments

NSString* address
The address/hostname of the server.
NSUInteger port
The port of the server.

Return Value

id

initWithAddress:port:

Initialize the new ServerEndpoint

Arguments

NSString* address
The address/hostname of the server.
NSUInteger port
The port of the server.

Return Value

id

port

The address and port where a game server can be reached

Return Value

NSUInteger