If you close the input or output port (e.g. with close-output-port) then the tcp unit will shutdown that half of the conversation. Does that not work? Jim
On Jul 25, 2012, at 12:18, Seth Alves <[email protected]> wrote: > > I have some code that uses the openssl egg. I'm not able to find a way (as a > client) to send eof to the server. Neither the openssl egg nor the tcp > module provide any sort of "shutdown". The socket egg provides shutdown, but > the openssl egg is based on tcp. > > With this patch > > http://paste.lisp.org/display/130677 > > I can do something like > > (tcp-shutdown (ssl-port->tcp-port (cadr ssl-sock)) 1) > > I cargo-culted this patch, so I wont be surprised if it has problems. > > -seth > > _______________________________________________ > Chicken-hackers mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-hackers _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
