> _sock = _realsocket(family, type, proto) > TypeError: an integer is required
So what values have family, type, and proto at that point? Edit socket.py to find out. Could it be that you also need to set socketType for your Port subclass? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list