This package adds support for Unix domain sockets to Tcl.
package require unix_sockets
set chan [unix_sockets::connect /tmp/.foo]
package require unix_sockets
proc accept chan {
# As for socket channels
}
set listen [unix_sockets::listen /tmp/.bar accept]
vwait ::forever
Licensed under the same terms as the Tcl Core