Ake Hedman skrev 08/08/13 16:55:
I need to get the server part of the url in a server using
libmicrohttpd. Is this possible?
Cheers
/Ake
Found the solution using
MHD_lookup_connection_value(connection, MHD_HEADER_KIND, "host");
Thanks
/Ake
--
=====================================================================
Be Hungry - Stay Foolish!
Ă…ke Hedman
Brattbergavägen 17, 82050 LOS, SWEDEN
Phone: 0730-533146 http://vscp.org
Spotify: http://open.spotify.com/track/6zvWRUyOanWeg3ATXbNiCn
Musique: http://www.soundcloud.com/hedman
Blogg: http://www.eurosource.se/akhe/wordpress/
=====================================================================