Description
This is Issue 436 moved from a Google Code project.
Added by 2010-12-27T19:10:20.000Z by adrian.m...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, Component-Core, Milestone-0023
Original description
In Arduino 0019 and above (I think that's when the Udp code was added, it's definitely in 0021 and 0022), libraries/Ethernet/Udp.cpp contains the following line:
_sock = 0; //TODO: should not be hardcoded
This means that it's not possible to have more than one UDP "connection" (for want of a better word) at once, and would also cause problems if the sketch used both UDP and the Client class if the Client.connect was called before Udp.begin.
I've got a patch ready that fixes this, which I'll submit a pull request on github for once I've worked out how to do that