Marc-Andre Lemburg added the comment: While the patch looks right (can't say for sure whether netinet/tcp.h is always available), I think the approach itself of adding these constants to the socket module is wrong.
Instead of adding these constants to the socket module, they should go into a new TCP.py module and get generated by the h2py script much like IN.py is already for each platform. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1514> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com