/* * Get the IP address of the client */ static VALUE client_get_addr(VALUE self) { IrmoClient *client = unwrap_client(self); const char *ip; ip = irmo_client_get_addr(client); return rb_str_new2(ip); }