On Wed, Dec 31, 2003 at 10:52:31AM +0100, Hannes Matuschek wrote: > Is it possible to use openssl with SOCK_SEQPACKET connections???
Why, if one may ask? > I tryed it, but ssl_accept and/or ssl_connect don't return in blocking mode > and booth want to read in non-blocking mode. FreeBSD socket manpage says: SOCK_SEQPACKET socket may provide a sequenced, reliable, two-way connec- tion-based data transmission path for datagrams of fixed maximum length; a consumer may be required to read an entire packet with each read system call. What does your manpage/source say about it? You may want to try the socket-distinct-from-SSL-state-machine approach. Cheers. -- Ng Pheng Siong <[EMAIL PROTECTED]> http://firewall.rulemaker.net -+- Firewall Change Management & Version Control http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]