joni vanderhaeghe
/
bachelorproef
bachelorproef
Diff: tcp.h
- Revision:
- 3:df5d91adc3bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcp.h Fri Mar 27 15:27:30 2020 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" +#include <EthernetInterface.h> +#include <string> + +class TCP { + + public: + int ip; + char buffer[32]; + string IPString; + EthernetInterface net; + TCPSocket socket; + + public: + TCP (); + void send(int ip); + void receive(); +}; \ No newline at end of file