Pycom WiPy 3.0 Manual page 375

Hide thumbs Also See for WiPy 3.0:
Table of Contents

Advertisement

5.3.12 usocket
socket.readinto(buf[, nbytes])
Read bytes into the
. If
is specified then read at most that many bytes.
buf
nbytes
Otherwise, read at most
bytes.
len(buf)
Return value: number of bytes read and stored into
.
buf
socket.readline()
Read a line, ending in a newline character.
Return value: the line read.
socket.write(buf)
Write the buffer of bytes to the socket.
Return value: number of bytes written.
375

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WiPy 3.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

SipyGpyLopyLopy4Fipy

Table of Contents