mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-24 14:48:14 +03:00
IPv6 on esp8266-nonos-sdk and arduino (#5136)
This commit is contained in:
@@ -75,7 +75,7 @@ uint8_t listen(SOCKET s)
|
||||
*
|
||||
* @return 1 for success else 0.
|
||||
*/
|
||||
uint8_t connect(SOCKET s, uint8_t * addr, uint16_t port)
|
||||
uint8_t connect(SOCKET s, const uint8_t * addr, uint16_t port)
|
||||
{
|
||||
if
|
||||
(
|
||||
@@ -420,7 +420,7 @@ uint16_t bufferData(SOCKET s, uint16_t offset, const uint8_t* buf, uint16_t len)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int startUDP(SOCKET s, uint8_t* addr, uint16_t port)
|
||||
int startUDP(SOCKET s, const uint8_t* addr, uint16_t port)
|
||||
{
|
||||
if
|
||||
(
|
||||
|
Reference in New Issue
Block a user