반응형 socket4 Python - UDP (send, receive) https://arduino-dds.tistory.com/entry/esp8266-udp-send-receive esp8266 - udp (send, receive) Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 arduino-dds.tistory.com Code 1 2 3 4 5 6 7 8 9 1.. 2023. 1. 5. Python - all ip check in pc Code 1 2 3 4 5 6 7 import socket ip_tuple = socket.gethostbyname_ex(socket.getfqdn()) for ip in ip_tuple[2]: if '192.' in ip : print(ip) Colored by Color Scripter cs Result #> python .\ip_check.py 192.168.4.44 192.168.2.9 2023. 1. 4. python - multicast send with esp8266 https://arduino-dds.tistory.com/entry/esp8266-multicast-with-python-pc esp8266 - multicast with python pc https://python-dds.tistory.com/entry/python-multicast-receive-with-esp8266 https://python-dds.tistory.com/entry/python-multicast-send-with-esp8266 python - multicast send with esp8266 Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import socket MCAST_GRP = '224. arduino-dds.tistory.com Code 1 2 3 .. 2023. 1. 2. python - multicast receive with esp8266 https://arduino-dds.tistory.com/entry/esp8266-multicast-with-python-pc esp8266 - multicast with python pc https://python-dds.tistory.com/entry/python-multicast-receive-with-esp8266 https://python-dds.tistory.com/entry/python-multicast-send-with-esp8266 python - multicast send with esp8266 Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import socket MCAST_GRP = '224. arduino-dds.tistory.com Code 1 2 3 .. 2023. 1. 2. 이전 1 다음 반응형