Skip to content

Add EthernetClient getSocketNumber() function #3123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Add EthernetClient getSocketNumber() function #3123

wants to merge 2 commits into from

Conversation

bigjohnson
Copy link
Contributor

This is the correction of pull request #2844

@ffissore
Copy link
Contributor

@ArduinoBot build this please

@cmaglie cmaglie added feature request A request to make an enhancement (not a bug fix) Library: Ethernet The Ethernet Arduino library labels May 12, 2015
@Chris--A
Copy link
Contributor

Chris--A commented Jul 9, 2015

Is there something holding back this PR?

It seems a fairly harmless, but useful addition.

@facchinm
Copy link
Member

facchinm commented Jul 9, 2015

Indeed the PR is clearly both useful and harmless. I'll merge and add the keyword for highlighting.
Thanks!

@facchinm
Copy link
Member

facchinm commented Jul 9, 2015

Merged as c5f0815

@facchinm facchinm closed this Jul 9, 2015
@facchinm facchinm added this to the Release 1.6.6 milestone Jul 9, 2015
@PaulStoffregen
Copy link
Contributor

I'm wondering why this is useful?

@Chris--A
Copy link
Contributor

Multiple connections being managed by a single end point needs some method of determining where the data came from. This is fine if you can build your code around EthernetClient, however some unrelated code may only accept/use blocks of data with ID's (socket in this case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request to make an enhancement (not a bug fix) Library: Ethernet The Ethernet Arduino library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants