[Libwebsockets] Problem getting peer ip address

Andy Green andy at warmcat.com
Sat Jul 5 06:05:16 CEST 2014

On 06/23/2014 01:06 AM, Sazali Hisham wrote:
> Hi,
> I have a problem of getting peer ip address using
> libwebsockets_get_peer_addresses(). The allocated buffer for storing the
> address always returning empty. The connecting peer is via javascript.
> Appreciate any advices.

I would try disable ipv6 in the lws build options and see if that solves it.


> Thanks!
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets

More information about the Libwebsockets mailing list