* @brief This function close the socket and parameter is "s" which represent the socket number */
| 40 | * @brief This function close the socket and parameter is "s" which represent the socket number |
| 41 | */ |
| 42 | void close(SOCKET s) |
| 43 | { |
| 44 | w5500.execCmdSn(s, Sock_CLOSE); |
| 45 | w5500.writeSnIR(s, 0xFF); |
| 46 | } |
| 47 | |
| 48 | |
| 49 | /** |