Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 429 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 429 Bytes

UNIX_SOCKETS

This package adds support for Unix domain sockets to Tcl.

Client

package require unix_sockets

set chan    [unix_sockets::connect /tmp/.foo]

Server

package require unix_sockets

proc accept chan {
    # As for socket channels
}

set listen  [unix_sockets::listen /tmp/.bar accept]

vwait ::forever

License

Licensed under the same terms as the Tcl Core