You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module turns on and I am able to receive an address via DHCP but when I try to initialize a UDP socket to transmit a broadcast package I received an error:
[code]>> import socket
socket.SOL_SOCKET
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'SOL_SOCKET'[/code]
Why SOL_SOCKET isn't defined ? I also tried with usocket module with the same result:
[code]>>> import usocket
usocket.SOL_SOCKET
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'SOL_SOCKET'[/code]
The text was updated successfully, but these errors were encountered:
The module turns on and I am able to receive an address via DHCP but when I try to initialize a UDP socket to transmit a broadcast package I received an error:
Why SOL_SOCKET isn't defined ? I also tried with usocket module with the same result:
[code]>>> import usocket
The text was updated successfully, but these errors were encountered: