Skip to content

Conversation

geky
Copy link
Contributor

@geky geky commented Dec 1, 2016

In the current version of the firmware, the esp8266 handles UDP in an odd way. Rather than packet based transactions, the esp8266 handles UDP like a connection based protocol.

To return the correct address, the esp8266 just saves the last connection established by UDP. Additionally this patch added the ability of a socket to change connection addresses.

Note: This firmware is still unable to recieve connections from arbitrary hosts.

related issue #15
cc @jankii01

geky added 2 commits December 1, 2016 16:15
Defined in both NetworkInterface and NetworkStack:
- gethostbyname
- add_dns_server
In the current version of the firmware, the esp8266 handles UDP
in an odd way. Rather than packet based transactions, the esp8266
handles UDP like a connection based protocol.

To return the correct address, the esp8266 just saves the last
connection established by UDP. Additionally this patch added
the ability of a socket to change connection addresses.

Note: This firmware is still unable to recieve connections from
arbitrary hosts.
@geky geky force-pushed the fix-recvfrom-address branch from 86d8500 to cd1bf66 Compare December 1, 2016 23:53
@geky geky merged commit 86ed47c into master Dec 2, 2016
@geky geky deleted the fix-recvfrom-address branch December 2, 2016 01:19
@JanneKiiskila
Copy link

Thank you!

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

Successfully merging this pull request may close these issues.

3 participants