[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
READ_TIMEOUT problem
From: |
Andres MERE |
Subject: |
READ_TIMEOUT problem |
Date: |
Thu, 16 Apr 2020 20:43:38 +0300 |
Halloo,I am trying to set up a (server) process listening incoming connections
(and doing something useful). Simple experiment like gawk
'BEGIN { n = "/inet/tcp/8888/0/0"; PROCINFO[n, "READ_TIMEOUT"] = 1000; if ((n
|& getline) > 0) { print } }'leads to a blocking read. Can anyone
explain the reasons for this? Am I misunderstanding something?Best
regards,Andres
- READ_TIMEOUT problem,
Andres MERE <=