Re: [Twisted-Python] send-msearch on all network interfaces of a machine

2014-06-25 Thread Pratik Prajapati
Modified code (with changes suggested by you on stackoverflow): class Base(DatagramProtocol): """ Class to send M-SEARCH message to devices in network and receive datagram packets from them """ SSDP_ADDR = "239.255.255.250" SSDP_PORT = 1900 MS =

Re: [Twisted-Python] send-msearch on all network interfaces of a machine

2014-06-25 Thread Pratik Prajapati
Hi Jean-Paul, you have seen my code on http://stackoverflow.com/questions/24178580/send-m-search-packets-on-all-network-interfaces-using-twisted-module-in-python code with your suggested changes this is working fine for windows machine, but on linux machine if no device is found on network then

Re: [Twisted-Python] send-msearch on all network interfaces of a machine

2014-06-14 Thread Pratik Prajapati
Hi Jean-Paul, I have added a comment on your answer on stackoverflow, please respond there. On Sat, Jun 14, 2014 at 11:53 PM, Pratik Prajapati < pratik.prajapat...@gmail.com> wrote: > Thanks for the answer > > > On Sat, Jun 14, 2014 at 7:57 PM, wrote: > >> On 12:48 pm, pratik.prajapat...@gmail

Re: [Twisted-Python] send-msearch on all network interfaces of a machine

2014-06-14 Thread Pratik Prajapati
Thanks for the answer On Sat, Jun 14, 2014 at 7:57 PM, wrote: > On 12:48 pm, pratik.prajapat...@gmail.com wrote: > >> >> [snip] >> >> >> Please tell what's wrong in code mentioned in the start of this mail and >> how to correct this. >> >> I have also posted this code on stackoverflow , but did

Re: [Twisted-Python] send-msearch on all network interfaces of a machine

2014-06-14 Thread exarkun
On 12:48 pm, pratik.prajapat...@gmail.com wrote: [snip] Please tell what's wrong in code mentioned in the start of this mail and how to correct this. I have also posted this code on stackoverflow , but didn't get any response http://stackoverflow.com/questions/24178580/send-m-search-packets