Re: How to abort a read from a socket after some time?

2024-01-22 Thread Tomas Volf
Hello, thank you very much for the email and the suggested approach, I will try it out. I just have one more question: On 2024-01-22 00:46:23 +0100, M wrote: > > > > All code below runs after handler is set: > > > >(sigaction SIGALRM (lambda _ (display "Alarm!\n"))) > > Assuming the

RE: How to abort a read from a socket after some time?

2024-01-21 Thread M
(Please ignore the wrong To: field, e-mail program is being silly) >I am trying to figure out how to abort a read from a socket after some time >elapses. >I failed to figure out how to do so. > > All code below runs after handler is set: > >(sigaction SIGALRM (lambda _ (display