MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / status

Method status

Arduino/libraries/Ethernet2/src/EthernetClient.cpp:154–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154uint8_t EthernetClient::status() {
155 if (_sock == MAX_SOCK_NUM) return SnSR::CLOSED;
156 return w5500.readSnSR(_sock);
157}
158
159// the next function allows us to use the client returned by
160// EthernetServer::available() as the condition in an if-statement.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected