1
0
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:
david gauchard
2018-11-27 23:07:47 +01:00
committed by GitHub
parent a501d3ca3b
commit 5c4db3acf4
59 changed files with 1270 additions and 809 deletions

View File

@@ -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
(