Re: [Twisted-Python] Can’t receive response to broadcasted UDP message

2017-04-20 Thread Роман Мещеряков
As one knows, God helps them that help themselves :) I found the solution to the subj problem. In order for broadcaster to receive responses, broadcaster must bind it's socket not to broadcast address, but to either it's own address (e.g. 192.168.2.1) or to empty string (which means "bind to all lo

[Twisted-Python] Can’t receive response to broadcasted UDP message

2017-04-17 Thread Роман Мещеряков
Hi all, After reading the UDP Networking how-to I added interaction using UDP messages to my distributed application. One sub-application is UDP broadcaster and the other one is responder. Their minimized code is below: broadcaster.py:from datetime import datetimeimport socketimport traceback from