Tuesday, September 6, 2011

SO_ PASSCRED and SO_PEERCRED example


Options SO_ PASSCRED and SO_PEERCRED

These options are applicable to PF_UNIX (PF_LOCAL) sockets only. These are used to control and pass credentials on sockets that are local to the current host machine. For now, simply note that these two options are likely to be of interest to you if you plan to write server programs that serve clients on the same local host.

See Also
SO_OBINLINE, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_REUSEADD, SO_TYPE.

No comments:

Post a Comment