Tag Info

New answers tagged

0

According to the Nginx documentation, SIGQUIT will perform a "graceful shutdown" while SIGTERM will perform a "fast shutdown". At least as of version 1.8.0, Nginx will leave stale UNIX domain sockets when it is stopped using the SIGQUIT signal. However, the UNIX domain sockets are properly removed when using the SIGTERM signal. The Nginx service script ...


0

I found the answer here: http://stackoverflow.com/questions/820782/how-do-i-find-out-what-programs-on-the-other-end-of-a-local-socket/4834881#4834881 The answer is ss -p | grep <socket-number>


1

Now, what is it? A socket, or "socket" can be several things: First of all, it is a thought model and an application programming interface (API). That means you have a set of rules you need to follow and a set of functions that you can use to write programs that do something, according to a precisely specified contract. In this particular case, something ...


2

There are several programs for making socket connections from the command line (or via a shell script). The most common is probably netcat, of which there are at least three implementations: Original one ©1995-1996 Avian Research (Hobbit's netcat). No good upstream link I'm aware of, so here it is in the Debian package tracker: ...


1

For udp or tcp over IP, A socket address is the combination of an IP address and a port number. An IP address is the address of a machine on the internet e.g. unix.stackexchange.com has address 198.252.206.140 However each machine must be able to provide more than one service, so most machines will provide http (web pages) on port 80, and ssh on port 22, ...


20

In the simplest terms, a socket is a pseudo-file that represents a network connection. Once a socket has been created (using the proper primitives, and the proper parameters to identify the other host), writes to the socket are turned into network packets that get sent out, and data received from the network can be read from the socket. In one regard, ...



Top 50 recent answers are included