Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ESP8266Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int ESP8266Interface::socket_connect(void *handle, const SocketAddress &addr)
return 0;
}

int ESP8266Interface::socket_accept(void **handle, void *server)
int ESP8266Interface::socket_accept(void *server, void **socket, SocketAddress *addr)
{
return NSAPI_ERROR_UNSUPPORTED;
}
Expand Down
2 changes: 1 addition & 1 deletion ESP8266Interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ESP8266Interface : public NetworkStack, public WiFiInterface
* @note This call is not-blocking, if this call would block, must
* immediately return NSAPI_ERROR_WOULD_WAIT
*/
virtual int socket_accept(void **handle, void *server);
virtual int socket_accept(void *handle, void **socket, SocketAddress *address);

/** Send data to the remote host
* @param handle Socket handle
Expand Down