equal
deleted
inserted
replaced
1555 self.socket.close() |
1555 self.socket.close() |
1556 |
1556 |
1557 # Test a few module features, including service registration, service |
1557 # Test a few module features, including service registration, service |
1558 # query (for Zoe), and service unregistration. |
1558 # query (for Zoe), and service unregistration. |
1559 |
1559 |
|
1560 |
1560 if __name__ == '__main__': |
1561 if __name__ == '__main__': |
1561 print "Multicast DNS Service Discovery for Python, version", __version__ |
1562 print "Multicast DNS Service Discovery for Python, version", __version__ |
1562 r = Zeroconf() |
1563 r = Zeroconf() |
1563 print "1. Testing registration of a service..." |
1564 print "1. Testing registration of a service..." |
1564 desc = {'version': '0.10', 'a': 'test value', 'b': 'another value'} |
1565 desc = {'version': '0.10', 'a': 'test value', 'b': 'another value'} |