ntruchsess / arduino_uip

UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack. Further developed version can be found on https://github.com/UIPEthernet/UIPEthernet
489 stars 212 forks source link

enc28j60 server connection only 4 times #193

Open ErencanErkarakas opened 5 years ago

ErencanErkarakas commented 5 years ago

enc28j60 server connection only 4 times while (true) { if (!client.connect(IPAddress(192, 168, 1, 111), 123)) { delay(100); Serial.println("not connection"); } else{ break; } } //action repeats this process only 4 times