I was trying to port a Zeroconf Service Discovery built on top of
python 2.2 (http://sourceforge.net/projects/pyzeroconf) to S60.
However, while I can leave some lines pertaining to "socket.setsockopt()" out, the following lines of code present in
Zeroconf.py are important:
socket.inet_aton(self.intf) + socket.inet_aton('0.0.0.0'))
socket.inet_aton(_MDNS_ADDR) + socket.inet_aton('0.0.0.0'))
When i try to execute Zeroconf.py on the S60 emulator, I get an error stating that: "AttributeError: 'module' object has no attribute 'SOL_IP'".
I already tried to change SOL_IP to IPPROTO_IP, but I still get the same problem.
Any suggestions on how I can join an IP multicast group?
Thanks in advance!