We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9255f commit 45f015dCopy full SHA for 45f015d
1 file changed
adafruit_esp32spi/adafruit_esp32spi_socket.py
@@ -78,7 +78,8 @@ def connect(self, address, conntype=None):
78
self._buffer = b""
79
80
def send(self, data, conntype=None): # pylint: disable=no-self-use
81
- """Send some data to the socket"""
+ """Send some data to the socket. 'conntype' is an extra that may
82
+ indicate UDP or not, depending on the underlying interface"""
83
if conntype is None:
84
conntype = _the_interface.TCP_MODE
85
_the_interface.socket_write(self._socknum, data, conn_mode=conntype)
0 commit comments