..
Dependencies: ESP8266Interface WIZnetInterface_namespace mbed-src
ProcessDataViaEthernet.cpp
00001 #include "mbed.h" 00002 00003 #include "TCPSocketConnection.hpp" 00004 00005 void ProcessDataViaEthernet() 00006 { 00007 wiznet_space::TCPSocketConnection eth_sock; 00008 00009 eth_sock.connect("192.168.3.64", 6000); 00010 00011 char send_data[] = "This is from Ethernet Interface\r\n"; 00012 eth_sock.send_all(send_data, sizeof(send_data)-1); 00013 00014 eth_sock.close(); 00015 }
Generated on Sat Jul 16 2022 19:04:04 by 1.7.2