micropython/docs/library
Jim Mussared b329fdcb73 extmod/modnetwork: Increase max hostname length to 32.
This changes from the previous limit of 15 characters.  Although DHCP and
mDNS allow for up to 63, ESP32 and ESP8266 only allow 32, so this seems
like a reasonable limit to enforce across all ports (and avoids wasting the
additional memory).

Also clarifies that `MICROPY_PY_NETWORK_HOSTNAME_MAX_LEN` does not include
the null terminator (which was unclear before).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-04 12:39:23 +11:00
..
_thread.rst
array.rst
asyncio.rst
binascii.rst
bluetooth.rst
btree.rst
builtins.rst
cmath.rst
collections.rst
cryptolib.rst
deflate.rst
errno.rst
esp.rst
esp32.rst
espnow.rst
framebuf.rst
gc.rst
gzip.rst
hashlib.rst
heapq.rst
index.rst
io.rst
json.rst
lcd160cr.rst
machine.ADC.rst
machine.ADCBlock.rst
machine.ADCWiPy.rst
machine.I2C.rst
machine.I2S.rst
machine.PWM.rst
machine.Pin.rst
machine.RTC.rst
machine.SD.rst
machine.SDCard.rst
machine.SPI.rst
machine.Signal.rst
machine.Timer.rst
machine.TimerWiPy.rst
machine.UART.rst
machine.WDT.rst
machine.rst
math.rst
micropython.rst
neopixel.rst
network.LAN.rst
network.WIZNET5K.rst
network.WLAN.rst
network.WLANWiPy.rst
network.rst extmod/modnetwork: Increase max hostname length to 32. 2023-10-04 12:39:23 +11:00
os.rst
platform.rst
pyb.ADC.rst
pyb.Accel.rst
pyb.CAN.rst
pyb.DAC.rst
pyb.ExtInt.rst
pyb.Flash.rst
pyb.I2C.rst
pyb.LCD.rst
pyb.LED.rst
pyb.Pin.rst
pyb.RTC.rst
pyb.SPI.rst
pyb.Servo.rst
pyb.Switch.rst
pyb.Timer.rst
pyb.UART.rst
pyb.USB_HID.rst
pyb.USB_VCP.rst
pyb.rst
random.rst
re.rst
rp2.Flash.rst
rp2.PIO.rst
rp2.StateMachine.rst
rp2.rst
select.rst
socket.rst
ssl.rst
stm.rst
struct.rst
sys.rst
time.rst
uctypes.rst
wipy.rst
wm8960.rst
zephyr.DiskAccess.rst
zephyr.FlashArea.rst
zephyr.rst
zephyr.zsensor.rst
zlib.rst