webSocketConnectionRemotePort (property)
This property shows the port of the connected client.
Syntax
- (int)webSocketConnectionRemotePort:(int)connectionId;
public func webSocketConnectionRemotePort(connectionId: Int32) throws -> Int32
Default Value
0
Remarks
This property shows the port of the connected client.
The connection must be valid or an error will be fired.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.
This property is read-only.