kopia lustrzana https://github.com/micropython/micropython-lib
upip: Initialize socket with protocol family as gotten from resolver.
Fixes working over IPv6.pull/101/merge
rodzic
98c6fb9024
commit
2903d599c7
|
@ -120,7 +120,7 @@ try:
|
|||
#print("Address infos:", ai)
|
||||
addr = ai[0][4]
|
||||
|
||||
s = usocket.socket()
|
||||
s = usocket.socket(ai[0][0])
|
||||
#print("Connect address:", addr)
|
||||
s.connect(addr)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue