TCP/UDP Client functions

wifi.connect(mode, IP-address, port)
Connects to a TCP/UDP-Server port

mode
TCP = TCP/IP-Protocol
UDP = UDP-Protocol

Example:
This code connects the module to an TCP-Server


wifi.connect("TCP", "192.168.0.10", 7777);

wifi.disconnect()
Disconnects from any TCP/UDP-Server

Example:
This code disconnects from the current TCP or UDP connection


wifi.disconnect();

wifi.writeln(data ) -> For normal mode if one connection is open
wifi.writeln(Connection-ID, data) -> For multiple mode if more connections are open
Sends data to the connected port

Example:
Coming soon



wifi.readln(data ) -> For normal mode if one connection is open
wifi.readln(Connection-ID, data) -> For multiple mode if more connections are open
Sends data to the connected port

Example:
Coming soon



wifi.write(data, Data length ) -> For normal mode if one connection is open
wifi.write(Connection-ID, data, Data length ) -> For multiple mode if more connections are open
Sends data to the connected port

Example:
Coming soon



wifi.read(data, Data length, timeout ) -> For normal mode if one connection is open
wifi.read(Connection-ID, data, Data length, timeout ) -> For multiple mode if more connections are open
Receives data from the connected port

Example:
Coming soon