Fetches the server port number which has been opened up for client to connect to it.
Syntax
public static virtual NSInteger
getPortNumberWithError:
(NSError ** error)
Parameters
-
error –
A double pointer to the error object in case the operation results in an error
Returns
Returns the server port number as an integer Usage NSError* error = nil; NSInteger portNum = [ODPAppSettings getPortNumberWithError:&error]; if (!error) { // Further processing }