Simple TCP/IP Server using the UIPEthernet library for ENC28J60 Ethernet boards.

Dependencies:   UIPEthernet

Revision:
4:f7aed299f625
Parent:
3:3a4fc577ecaa
Child:
5:8a0f9cab7f1f
--- a/main.cpp	Fri Aug 30 19:18:40 2019 +0000
+++ b/main.cpp	Tue Sep 03 09:47:09 2019 +0000
@@ -10,7 +10,7 @@
 #define IP      "192.168.1.35"
 #define GATEWAY "192.168.1.1"
 #define NETMASK "255.255.255.0"
-#define PORT    10001
+#define PORT    80
 
 const uint8_t   MAC[6] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
 UipEthernet     net(MAC, D11, D12, D13, D10);   // mac, mosi, miso, sck, cs