How to interrupt blocking accept() call in C++?

后端 未结 0 1430
囚心锁ツ
囚心锁ツ 2020-12-28 19:18

I\'m trying to exit an accept() call after a timeout occurs, but it seems the interrupt isn\'t working. The signal emitted by alarm() works fine.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题