Pike v8.0 release 1738

Method Stdio.UDP()->query_address()


Method query_address

string query_address()

Description

Returns the local address of a socket on the form "x.x.x.x port". If this file is not a socket, not connected or some other error occurs, zero is returned.