Skip to content

Instantly share code, notes, and snippets.

❤️
Back at Univention

Florian Best spaceone

❤️
Back at Univention
Block or report user

Report or block spaceone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@spaceone
spaceone / Univention CLA
Last active Sep 19, 2017
Univention UCS CLA
View Univention CLA
Declaration of contribution to the development of Univention software
The Contributor makes available to Univention GmbH, Mary­Somerville Str.1, 28359 Bremen, Germany,
(hereinafter referred to as Univention) software expansions and extensions (hereinafter referred to as
“Software expansions”) to the software, which may be licensed to third parties by Univention subject to
different conditions (hereinafter referred to as Univention software).
They are made available with the
objective of integrating the corresponding expansions and extensions into the Univention software.
In doing
so, neither Univention’s right to the free licensing of Univention software including the Contributor’s
View handshake_event.patch
commit b50741f08af90f01e35d4925f545bd988e3c20a1
Author: SpaceOne <space@wechall.net>
Date: Mon Sep 21 23:25:17 2015 +0200
Create handshake event
TODO: rename handshake.error, handshake.success
TODO: check if we need yield self.wait() arround firing of handshake
event?
View broken_socket.py
from circuits import Manager, Debugger; from circuits.core.pollers import Select; from circuits.net.sockets import TCPServer, TCPClient; from circuits.net.events import close, connect, write
m = Manager() + Select() + Debugger()
tcp_server = TCPServer(0, secure=True, certfile='/home/git/circuits/tests/net/cert.pem', channel='server')
tcp_client = TCPClient(channel='client')
tcp_server.register(m)
tcp_client.register(m)
m.start()
from time import sleep; sleep(1)
tcp_client.fire(connect(*tcp_server._sock.getsockname(), **{'secure':True}))
You can’t perform that action at this time.