bachelorproef

Dependencies:   mbed C12832

tcp.h

Committer:
jonivdh
Date:
2020-03-27
Revision:
3:df5d91adc3bb

File content as of revision 3:df5d91adc3bb:

#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();  
};