Menu
  • HOME
  • TAGS

How is Ctrl+C key behaves in a TCP connection

sockets,tcp,control-c

There's no such thing as sending a signal over TCP. Ctrl+C is a terminal generated signal. Assuming you (or the running process) didn't change the terminal's settings, this means that the terminal driver transforms the Ctrl+C key combination into a kill(x, SIGINT), where x is the process group ID of...