python `IN` module problem (FreeBSD)
- by Shamanu4
I'm trying to work with sockets and I have such problem
In code example:
setsockopt(socket.SOL_SOCKET,IN.SO_BINDTODEVICE,self.listen_address+'\0')
I have error
AttributeError: 'module' object has no attribute 'SO_BINDTODEVICE'
On Linux machine this attribute is OK but on FreeBSD trere are no any SO_* attributes in module IN. What port should I install to resolve this problem on FreeBDS machine?
Python versions on Linux tested:
2.5.4 and 2.6.4;
on FreeBSD:
2.5.5
I can't find anything about this module in my book, and googling keyword IN looks like seamless ...