Once you have a connection, i.e., your callback is called, you can obtain the ip address by passing in the open connection object. For example,
call_status_t
my_http_callback (snorkel_obj_t http,
snorkel_obj_t connection)
{
char szbuff[512];
.
.
snorkel_obj_get (connection, snorkel_attrib_get_ipaddr, szbuff, sizeof(szbuff));
.
.
return HTTP_SUCCESS;
}
In the example above, the IP address of the attached client is retrieved and stored in the buffer szbuff.
BEST REGARDS
Walt