PORT_SEARCH

Description

> Get or Set device search server port numbers. We provides some utilities like IPUtility to find all our devices in the intranet through these UDP search ports.

> When write, the port numbers will be checked if they were used from other applications.

> If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and the Router's http server port number will be returned.

Input Argument

> n,m
> where
> n : search server port 1 which it is an UDP port number, 1~65535.
> m : search server port 2 which it is an UDP port number, 1~65535.

Attribute

- Readable and Writable (except all video servers in Multi-Channel Encoder)
- Not On-Fly

Return of Message

- Read Operation

> PORT_SEARCH='6005,6006'

- Write Operation

> OK: PORT_SEARCH='6005,6006'
> or
> ERROR: PORT_SEARCH='6005,6005'

Applicability

- WPL Platform : All Devices
- EPL Platform : All Devices
- PlatformT : All Devices
- Multi-Channel Encoder : All Devices

Status

> This URL is new command for replacing the URL PORT_SEARCH_1 and PORT_SEARCH_2

See Also

> PORT, PORT_HTTP, PORT_SEARCH_1, PORT_SEARCH_2, PORT_REGISTER, PORT_CONTROL, PORT_VIDEO, PORT_MULTICAST, V2_PORT_RTSP, V2_PORT_RTP_MULTI_VIDEO, V2_PORT_RTP_MULTI_AUDIO

Example

- Read Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_SEARCH
> or
> http://ip:port/cgi-bin/cmd/system?PORT_SEARCH

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&PORT_SEARCH=6005,6006
> or
> http://ip:port/cgi-bin/cmd/system?PORT_SEARCH=6005,6005

Back to

> HOME, SYSTEM CGI