Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

constructor m_client(MAX_SOCK_NUM) is not portable (fails to compile with UIPEthernet)#51

Merged
unwiredben merged 1 commit intosirleech:mastersirleech/Webduino:masterfrom
ntruchsess:m_client_constructorntruchsess/Webduino:m_client_constructorCopy head branch name to clipboard
Feb 28, 2014
Merged

constructor m_client(MAX_SOCK_NUM) is not portable (fails to compile with UIPEthernet)#51
unwiredben merged 1 commit intosirleech:mastersirleech/Webduino:masterfrom
ntruchsess:m_client_constructorntruchsess/Webduino:m_client_constructorCopy head branch name to clipboard

Conversation

@ntruchsess
Copy link
Contributor

the use of constructor EthernetClient(MAX_SOCK_NUM) breaks the compile when being used with UIPEthernet. Using the no-arg constructor has the same effect with Ethernet-library as it initializes _sock to MAX_SOCK_NUM anyway (https://github.com/arduino/Arduino/blob/master/libraries/Ethernet/EthernetClient.cpp#L17)

unwiredben added a commit that referenced this pull request Feb 28, 2014
constructor m_client(MAX_SOCK_NUM) is not portable (fails to compile with UIPEthernet)
@unwiredben unwiredben merged commit 655db30 into sirleech:master Feb 28, 2014
@ntruchsess ntruchsess deleted the m_client_constructor branch February 28, 2014 22:16
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.