ARMmbed / ARMmbed/sal-stack-lwip
socket bound on loopback address do not receive packet until netif_poll_all() is called.
- Dominant language
- C
- Stars
- 4
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
In following test if call to netif_poll_all() is removed from line 163 i.e. after sending the UDP packet then receiving socket's event handler is not called.
https://github.com/mazimkhan/sal-test/blob/devel-transport/test/tc_6ib_00000001/main.cpp
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with test/tc_6ib_00000001/main.cpp in the linked sal-test repository, especially line 163 and the UDP send/receive sequence. Run the test with and without netif_poll_all() and trace why the receiving socket event handler differs; done means the handler is called after sending without that explicit poll.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100