socket - no readline or makefile

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
User avatar
devnull
Posts: 394
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

socket - no readline or makefile

Post by devnull » Wed Mar 27, 2019 10:09 am

I am testing the socket on the pyboard, but it seems to be missing many of the functions and constants that are avaiable on the ESP8266.

These are not available

  • readline
  • makefile
  • write
  • IPPROTO_TCP
  • SOL_SOCKET
  • SO_REUSEADDR

This makes it difficult to create any kind of socket server that needs to read line by line ?

Why would these be omitted from the pyboard and yet present in ESP32 and ESP8266 ?

Post Reply