IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

DefaultForwardPort Property

The default port of the host to which data will be forwarded.

Object Oriented Interface

public function getDefaultForwardPort();
public function setDefaultForwardPort($value);

Procedural Interface

ipworksws_websocketproxy_get($res, 17 );
ipworksws_websocketproxy_set($res, 17, $value );

Default Value

0

Remarks

When a client connects the class will establish a new connection to the host specified in DefaultForwardHost on the port specified here. Data can then be freely sent and received between the client and host.

You may also override the default value specified here by setting the ForwardPort event parameter within the WebSocketOpenRequest event.

Data Type

Integer

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