Re: ANN: PyDTLS

2013-01-09 Thread rbit
Neal, A network protocol that is unreliable (i.e., lacks retransmission of dropped packets) and lacks congestion control will certainly never be a common, general purpose protocol, due to the amount of work it imposes on its user. Implementing an AIMD congestion control algorithm is burdensome to

Re: ANN: PyDTLS

2013-01-08 Thread rbit
On Tue, Jan 8, 2013 at 9:09 PM, Guido van Rossum wrote: > But don't you have to deal with that when doing synchronous I/O as > well? It's a datagram protocol after all. No: when dealing with blocking sockets, the OpenSSL library activates its own retransmission timers, and the application never b

Re: ANN: PyDTLS

2013-01-08 Thread rbit
sounds interesting. Is the tulip package available somewhere so that I can try it out? Ray On Tue, Jan 8, 2013 at 6:53 AM, Guido van Rossum wrote: > This sounds exciting. Are you considering a Python 3 port? It might make a > nice demo of PEP 3156. > > > On Monday, January 7, 20

ANN: PyDTLS

2013-01-02 Thread rbit
p_socket(socket(AF_INET, SOCK_DGRAM)) sock.connect(('foo.bar.com', 1234)) sock.send('Hi there') The project is hosted at https://github.com/rbit/pydtls. PyPI has packages: http://pypi.python.org/pypi/Dtls/0.1.0. I hope it proves useful. Ray -- http://mail.python.org/mailman/listinfo/python-list