From Kx Wiki
Returns the IP address as a 32-bit integer
It can be split into components as follows:
q)"i"$0x0 vs .z.a 127 0 0 1
when called inside a .z.p? callback it is the address of the client session, not the current session
For a complete list of functions, see the kdb+ Function Reference.