Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

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.