socket setsockopt show EINVAL error #13236
Unanswered
skylin008
asked this question in
STM32 / Pyboard
Replies: 1 comment
-
|
@skylin008 Please see Welcome (Please read before posting) for how to format code in forum posts and also please try to share only minimal examples to highlight the issue. In this case though, setsockopt is not supported on the wiznet driver when using it in stack mode (i.e. where the wiznet chip manages the tcp stack). It is possible to build in LWIP mode, in which case setsockopt will work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks shared this impressive project. I had rebuild the micropython firmware with V1.22, when set the socket.setsockopt parameter ,show OSError: [22] EINVAL, how to solve this issue. As follow code:
(Edited by @jimmo to add formatting)
Beta Was this translation helpful? Give feedback.
All reactions