Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pico_socket_read() with timeout #495

Closed
yogeshbio opened this issue Feb 7, 2019 · 1 comment
Closed

pico_socket_read() with timeout #495

yogeshbio opened this issue Feb 7, 2019 · 1 comment

Comments

@yogeshbio
Copy link

Hi ,

I want to have pico_socket_read() with a timeout of 2 seconds as I wait for an ack within 2 seconds.
Are there API's which provide socket reads with speicfied timeout ? Or how can this be got in picoTCP ?

--YK

@yogeshbio
Copy link
Author

@frederikvs : Do you have any idea on this as pico_socket_read() is a blocking call. How to add timeout to it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant