On Feb 12, 2016, at 1:24 PM, Ty Coghlan wrote:
> As part of a course I'm in, we had to write a simple bridge simulation that
> could handle data messages to and from unix ports that have attached to them
> several hosts. In addition, these bridges have to implement a simple spanning
> tree al
Unix socket ports are block-buffered, so after writing to them you need
to flush the output. Something like
(write-json data port)
(flush-output port)
Your code on github has calls to flush-output without the port argument.
That doesn't flush the unix socket port; it flushes the current ou
2 matches
Mail list logo