Merge pull request #1 from seahawk1986/seahawk1986-patch-1

use ip address 0.0.0.0 instead of 192.168.0.6
This commit is contained in:
seahawk1986 2017-07-31 09:17:19 +02:00 committed by GitHub
commit 59641d85bf
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ try:
except:
pass
sock.settimeout(1)
sock.bind(("192.168.0.6", SSDP_PORT))
sock.bind(("0.0.0.0", SSDP_PORT))
sock.sendto(ssdpRequest, (SSDP_ADDR, SSDP_PORT))
try:
while 1: