virtualsquare / virtualsquare/vuos
blocking connect
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 49
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
connect may wait for a long time prior to return a timeout error.
The support of blocking "connect" is tricky ( at least the support I have in my mind): convert the socket as non-blocking and if the call returns EINPROGRESS wait on a "poll". When poll returns try again "connect"
Any other idea out there?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the blocking connect behavior described here, especially the EINPROGRESS, poll, and retry-connect flow. A complete contribution would need an agreed design and defined implementation and test locations; no files or tests are identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100