ServicePort Property

A port number for a service. When set, it initiates a search for the corresponding service name and protocol.

Object Oriented Interface

public function getServicePort();
public function setServicePort($value);

Procedural Interface

ipworks_ipinfo_get($res, 42 );
ipworks_ipinfo_set($res, 42, $value );

Default Value

0

Remarks

This property contains the port number for the service specified by ServiceName.

If this property is set to a port number, a search is initiated for the ServiceName and other information related to the service (if any).

The RequestComplete event is fired when the search is complete. RequestId identifies the pending request.

NOTE: This functionality is only available in Windows.

Data Type

Integer

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