jczic / MicroWebCli

A micro HTTP Web client for MicroPython (used on Pycom modules & ESP32)
https://microwebcli.hc2.fr
MIT License
56 stars 16 forks source link

socket.IPPROTO_TCP not supported on RPI Pico socket port #8

Open somervda opened 5 months ago

somervda commented 5 months ago

More a FYI than a bug . Be careful if using this library with a micropython on a Raspberry Pi Peco, the socket library does not have a definition for IPPROTO_TCP. The good news is the OpenRequest function in the MicroWebCli library doesn't need this parameter so you can just leave the parameter out as a work around (It defaults to TCP)