Pike v8.1 release 6

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.