Overview
| Artifact ID: | 787999127b7efb9203d4d7862b4dc4718c4c738a9571149bb34b6acdd19f3cd7 |
|---|---|
| Ticket: | 6a61b9d61492a249009d231f362c7a8589552565
fileevent command missing "exception" as acceptable watchMask |
| User & Date: | davygrvy on 2026-06-22 19:15:10 |
Changes
- icomment:
I've been pondering this change. exception events on, say a TCP socket, could not only include the OOB byte, but could be used to receive QOS changes, and even nameserver lookups. Maybe something like this: ```tcl chan event $sock exception [list socket_except $chan [subst -noc {[chan configure $chan -pop_except_type]}]] proc socket_except {chan type} { switch -- $type { qos { set qos_data [chan configure $chan -pop_qos] } oob { set byte [binary scan c [chan configure $chan -pop_oob]] } } } ``` - login: "davygrvy"
- mimetype: "text/x-markdown"