I understand that the term "socket" can mean two different things in the Unix/Linux context:

* A Unix socket; the interface between 2 or more processes. An example is a CGI that comes between a webserver and other processes like PHP.
* An IP socket; the interface between a process and 1 or more communicating services (or machines).

Is the general definition sums up in these two or there are is more to "socket" in our context?