[Twisted-Python] TLSMemoryBIOProtocol _shutdownTLS what to do when not successfull

2013-01-16 Thread Adi Roiban
Hi, Here is this code in t.p.t.TLSMemoryBIOProtocol def _shutdownTLS(self): """ Initiate, or reply to, the shutdown handshake of the TLS layer. """ self._flushSendBIO() shutdownSuccess = self._tlsConnection.shutdown() self._flushSendBIO()

Re: [Twisted-Python] TLSMemoryBIOProtocol _shutdownTLS what to do when not successfull

2013-01-16 Thread exarkun
On 03:47 pm, a...@roiban.ro wrote: >Hi, > >Here is this code in t.p.t.TLSMemoryBIOProtocol > >def _shutdownTLS(self): >""" >Initiate, or reply to, the shutdown handshake of the TLS layer. >""" >self._flushSendBIO() >shutdownSuccess = self._tlsConnection.s

Re: [Twisted-Python] Layer 2 and Twitsted

2013-01-16 Thread David Serafini
> Date: Tue, 15 Jan 2013 14:38:47 -0500 > From: outcast > > Don't want to use tap type of devices. Want to be able to handle packets > natively from the interface with minimal amount of overhead. Basically want > my own rx_handler to python call back. Yes I want the raw ethernet frames. > Looking

Re: [Twisted-Python] Layer 2 and Twitsted

2013-01-16 Thread outcast
Understood.trying to see if I can get something that works with all interface types right I am having a little trouble with getting my rx_handler to trigger even though it has been registered. -James On Wed, Jan 16, 2013 at 1:05 PM, David Serafini wrote: > Solarflare ___