kopia lustrzana https://github.com/micropython/micropython-lib
socket: Add constants for basic multicast support.
rodzic
7122b14ebc
commit
16467be125
|
@ -3,6 +3,10 @@ import usocket as _socket
|
|||
|
||||
|
||||
_GLOBAL_DEFAULT_TIMEOUT = 30
|
||||
IPPROTO_IP = 0
|
||||
IP_ADD_MEMBERSHIP = 35
|
||||
IP_DROP_MEMBERSHIP = 36
|
||||
|
||||
|
||||
def create_connection(addr, timeout=None, source_address=None):
|
||||
s = socket()
|
||||
|
|
Ładowanie…
Reference in New Issue