[cs631apue] How to identify the SERVER_NAME variable?

gcheng2 gcheng2 at stevens.edu
Fri Dec 4 01:56:58 EST 2015


Hi prof.,

As RFC 3875 defined,  SERVER_NAME variable MUST be set to the
name of the server host to which the client request is directed.

When our server listens all ip addresses on the host, how to know
which host the client is requesting (for example localhost or
nemo)?

Regards,

Gong


More information about the cs631apue mailing list