Ethernet W5100 driver
4.0
******************************************************************************
* @file W5100.c
* The present document consists of 5 parts:
* 1. Class W5100
* 2. Class W5100 Socket
* 3. Socket connection
* If Socket is set to TCP server mode, the call Socket_Listen () function, W5100 in listening state until the remote client connected to it.
* If Socket is set to TCP client mode, call Socket_Connect () function,
* A call to Socket_Connect (s) function, one at a time,
* If the connection is successful, the resulting timeout interrupt, and then you can call this function again to connect.
* If Socket set for UDP mode, call the Socket_UDP function
* 4. Socket data received and sent
* 5. W5100 interrupt processing
*
* Reset the W5100 Server mode during a call: W5100_Init ()-->Socket_Init (s)-->Socket_Listen (s), the Setup proces