|
This is typically returned as part of the HTTP response headers. For example:
HTTP/1.1 200 OK
Date: Fri, 30 May 2008 19:50:29 GMT
Server: Apache/2.2.4 (Fedora)
Accept-Ranges: bytes
Connection: close
Content-Type: text/html
In this case, look at the "Server" header which shows this server is running Apache.
You can get this from a raw socket connection by sending "GET /" command to server followed by a CRLF.
|