0

I wrote a httpPlatformHandler service using C++ which seems to work well. I actually have two questions.

1 - How can I determine the client IP address? The Winsock function getpeername only returns the IP of the machine IIS is running on.

2 - How can I determine if HTTPS is in use? The first line of the headers ends with HTTP/1.1 even when HTTPS is used.

rustyx
  • 80,671
  • 25
  • 200
  • 267
Roland Smith
  • 957
  • 4
  • 7

0 Answers0