gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

Fix incorrect buffer size used in `sock_setbuf()` #85

Closed jwt27 closed 1 year ago

jwt27 commented 1 year ago

Just noticed this potential issue. sock_setbuf() is used for both TCP and UDP sockets, but the default buffer size for TCP is larger than for UDP.

gvanem commented 1 year ago

Hm! Sound good. Not sure why this hasn't been an issue before.

Merging.