DESCRIPTION¶
Give the ip-number for the current user or the optional argument ob.
If ob is given as reference (and it must be a valid object then), it will upon return be set to the struct sockaddr_in of the queried object, represented by an array of integers, one integer per address byte:
ob[0.. 1]: sin_family ob[2.. 3]: sin_port ob[4.. 7]: sin_addr ob[8..15]: undefined.
HISTORY¶
- changed (3.2.1@81) – added the return of the struct sockaddr.