Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C++アプリケーション内でhttp://code.google.com/p/mongoose/サーバーを使用しています。私はc++コードでドメイン名を見つける方法を探しています。現在のドメイン名を取得するためのマングースのAPIはありますか?
-を呼び出すことで取得できます
const char *value = mg_get_header(connection, "Host");