stm32duino / STM32Ethernet

Arduino library to support Ethernet for STM32 based board
156 stars 43 forks source link

Allocate the TCP client when needed. #28

Closed gdsports closed 5 years ago

gdsports commented 5 years ago

This patch allows the WebClientRepeating example to work. I suspect this will also fix #22. Also fixes one of the SSLClient examples.

Without this patch, only the first connect succeeds. The following attempts fail because _tcp_client is not NULL.

fpistm commented 5 years ago

Thanks @gdsports