24 Mar
2018
24 Mar
'18
09:43
The BSD/unix API does not allow this for TCP sockets, as in tapping into the OS' knowledge of whether a connection was closed, the only way to learn that is by trying to write to it. However with respect to Gambit knowing whether |close-port| was applied on a port, of course you should be able to retrieve that. 2018-03-24 16:29 GMT+08:00 Dimitris Vyzovitis <vyzo@hackzen.org>:
Is there a reasonable way to detect whether a port has been closed? I want to implement input-port-open? and output-port-open? for r7rs coverage...
-- vyzo
_______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list