[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] tcp-shutdown
From: |
Seth Alves |
Subject: |
[Chicken-hackers] tcp-shutdown |
Date: |
Wed, 25 Jul 2012 10:18:52 -0700 |
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] tcp-shutdown,
Seth Alves <=