signal tag

2 questions


1 answers
80 views
0
How to maintain servers in SIGPIPE

We created a server that receives commands through TCP or local UNIX sockets and sends the results.Occasionally, the client leaves before receiving the result and SIGPIPE occurs, each time the server ...

2 years ago

1 answers
105 views
0
To make an exception to SIGINT?

In a program that connects to a DB,If you receive SIGINT(ctrl+c), it doesn't turn off immediatelyYou have to close the program after organizing what is related to the DB.I don't know when SIGINT will ...

2 years ago

© 2024 OneMinuteCode. All rights reserved.