Alaska Software Inc. - Client IP.
Username: Password:
AuthorTopic: Client IP.
Jacob L. CurcielClient IP.
on Fri, 02 May 2003 14:02:17 +0200
Dear friends:
I'm newbie in asinet and want to get the IP of a client in xxx.xxx.xxx.xxx
format. I used the socketgetpeername(nsocket) to get it but I got an array
of 3 positions that wasn't what I expected for.
Any help?

Thanks.
phil@compucar.net Re: Client IP.
on Fri, 02 May 2003 15:41:29 +0000
>I'm newbie in asinet and want to get the IP of a client in xxx.xxx.xxx.xxx
>format. I used the socketgetpeername(nsocket) to get it but I got an array
>of 3 positions that wasn't what I expected for.
>Any help?

The first element of the array contains the IP address.

Regards,

Phil Ide

Xbase++ FAQ
current release: 8,  Monday 4th February 2002, 14:54
***
* Xbase++ FAQ:
*  online  : http://www.idep.org.uk/xbase/xbfaq/xbfaq.htm
*          : www.software-braun.de/xbfaq/xbfaq.htm 
*  download: http://www.idep.org.uk/xbase/xbfaq.zip
*          : www.software-braun.de/xbfaq/xbfaq.zip 
***