mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
fix host emulation on macOS (#5633)
This commit is contained in:
@ -95,6 +95,7 @@ extern uint32_t global_ipv4_netfmt; // selected interface addresse to bind to
|
||||
#endif
|
||||
|
||||
// tcp
|
||||
int mockSockSetup (int sock);
|
||||
int mockConnect (uint32_t addr, int& sock, int port);
|
||||
ssize_t mockFillInBuf (int sock, char* ccinbuf, size_t& ccinbufsize);
|
||||
ssize_t mockPeekBytes (int sock, char* dst, size_t size, int timeout_ms, char* buf, size_t& bufsize);
|
||||
|
Reference in New Issue
Block a user