libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Get server


From: Ake Hedman
Subject: Re: [libmicrohttpd] Get server
Date: Thu, 08 Aug 2013 23:24:42 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

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/
=====================================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]