IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

WebSocketConnectionRemoteHost Property

This property shows the IP address of the connected client.

Object Oriented Interface

public function getWebSocketConnectionRemoteHost($connectionid);

Procedural Interface

ipworksws_websocketserver_get($res, 13 , $connectionid);

Default Value

''

Remarks

This property shows the IP address of the connected client.

The connection must be valid or an error will be fired.

If the class is configured to use a SOCKS firewall, the value assigned to this property may be preceded with an "*". If this is the case, the host name is passed to the firewall unresolved and the firewall performs the DNS resolution.

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 and not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 PHP Edition - Version 20.0 [Build 8155]