logoalt Hacker News

adrian_btoday at 12:03 PM0 repliesview on HN

As others have said, TCP allows sending urgent packets, precisely for solving this problem.

At the receiver, a signal handler must be used, which will be invoked when an urgent packet is received, with SIGURG.