mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
parent
0f0386e3c4
commit
9dd7910aed
@ -64,6 +64,7 @@ void WiFiServer::begin() {
|
||||
|
||||
ip_addr_t local_addr;
|
||||
local_addr.addr = (uint32_t) _addr;
|
||||
pcb->so_options |= SOF_REUSEADDR;
|
||||
err = tcp_bind(pcb, &local_addr, _port);
|
||||
|
||||
if (err != ERR_OK) {
|
||||
|
Binary file not shown.
@ -1458,7 +1458,7 @@
|
||||
* SO_REUSE==1: Enable SO_REUSEADDR option.
|
||||
*/
|
||||
#ifndef SO_REUSE
|
||||
#define SO_REUSE 0
|
||||
#define SO_REUSE 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user