Description
This is Issue 892 moved from a Google Code project.
Added by 2012-04-20T11:58:42.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Medium, Component-Ethernet
Original description
What change would like to see?
In the EthernetClient is possible add a function for get the socket number?
Or if is not possible add a new function is possible expose the _sock variable to children classes?
Why?
Actualy if there are multiple connections open it is impossible know from wich client we are reciving data
Would this cause any incompatibilities with previous versions?
No.
In EthernetClient.cpp
uint8_t EthernetClient::getSocketNumber() {
return _sock;
}
In In EthernetClient.h
uint8_t getSocketNumber ();
Thanks.
Alberto