---
layout: doc
title: interactive / query_ip_number
---
# query_ip_number

### NAME

    query_ip_number() - return the ip number for a player object

### SYNOPSIS

    string query_ip_number( object ob );

### DESCRIPTION

    Return  the  ip-number  (dotted  decimal  form or IPv6 form) for player
    'ob'.

### SEE ALSO

    query_ip_name(3), query_host_name(3), resolve(3), socket_address(3)

