Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Listening for broadcasts on port 0
Post: RE: Listening for broadcasts on port 0

(Mar-12-2021, 01:11 AM)supuflounder Wrote: (Mar-11-2021, 09:09 PM)pacmyc Wrote: Hi. I have a device that send some data via broadcast to port 0 in my network. I can listen to the traffic with wire...
pacmyc Networking 6 4,238 Mar-12-2021, 07:14 AM
    Thread: Send UDP packet after bind
Post: Send UDP packet after bind

I want to send a UDP packet to 192.168.0.155 and then listen for replies on the same port as I sent the packet from. The below code doesn't work. I can't invoke s.sendto after I have binded the socket...
pacmyc Networking 0 2,654 Mar-11-2021, 10:28 PM
    Thread: Listening for broadcasts on port 0
Post: RE: Listening for broadcasts on port 0

(Mar-11-2021, 09:44 PM)buran Wrote: (Mar-11-2021, 09:31 PM)pacmyc Wrote: I don't see that any of those pages mention anything about using port 0 ?sorry, I misunderstood your question OK no problem...
pacmyc Networking 6 4,238 Mar-11-2021, 09:52 PM
    Thread: Listening for broadcasts on port 0
Post: RE: Listening for broadcasts on port 0

(Mar-11-2021, 09:19 PM)buran Wrote: Maybe start https://wiki.python.org/moin/UdpCommunication https://docs.python.org/3/library/socket.html I don't see that any of those pages mention anything abou...
pacmyc Networking 6 4,238 Mar-11-2021, 09:31 PM
    Thread: Listening for broadcasts on port 0
Post: Listening for broadcasts on port 0

Hi. I have a device that send some data via broadcast to port 0 in my network. I can listen to the traffic with wireshark. Is it possible to get Python to listen to port 0 for UDP packets?
pacmyc Networking 6 4,238 Mar-11-2021, 09:09 PM
    Thread: Running python scripts from github etc
Post: RE: Running python scripts from github etc

Thanx!
pacmyc General Coding Help 7 3,735 Mar-03-2021, 10:26 PM
    Thread: Running python scripts from github etc
Post: RE: Running python scripts from github etc

I did "pip3 install xxx " for all the requirements but still get errors; ~/tellstick/tellsticknet-master/tellsticknet$ python3 discovery.py Traceback (most recent call last): File "discovery.p...
pacmyc General Coding Help 7 3,735 Mar-03-2021, 08:47 PM
    Thread: Running python scripts from github etc
Post: RE: Running python scripts from github etc

(Mar-03-2021, 08:31 PM)perfringo Wrote: Repo has requirements.txt and there are following modules listed: docopt setuptools requests pyyaml hbmqtt Yes, where do I get them?
pacmyc General Coding Help 7 3,735 Mar-03-2021, 08:35 PM
    Thread: Running python scripts from github etc
Post: RE: Running python scripts from github etc

Yes, where do I get them?
pacmyc General Coding Help 7 3,735 Mar-03-2021, 08:34 PM
    Thread: Running python scripts from github etc
Post: Running python scripts from github etc

Hi. I sometimes find some python scripts on github for example that I want to try out, but the documentation doesn't include instructions how to run the script. For me as a newbie I don't where to tur...
pacmyc General Coding Help 7 3,735 Mar-03-2021, 08:18 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020