Porting Library for Arduino - Sockets
Posted: Sat Mar 03, 2018 3:59 pm
Hi
I'm trying to port the following library over to Arduino/Sketch - https://github.com/hkr/fuji-cam-wifi-to ... e/comm.hpp
In the comm.cpp its unable to find three header files
#if FCWT_USE_BSD_SOCKETS
#include <arpa/inet.h> //Arduino Sketch unable to find the header file
#include <sys/types.h>
#include <sys/socket.h> //Arduino Sketch unable to find the header file
#include <sys/select.h> //Arduino Sketch unable to find the header file
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#elif FCWT_USE_WINSOCK
#define NOMINMAX
#include <winsock2.h>
#include <Ws2tcpip.h>
#endif
Any ideas how I could fix or add in the files?
Thanks,
Gavin
I'm trying to port the following library over to Arduino/Sketch - https://github.com/hkr/fuji-cam-wifi-to ... e/comm.hpp
In the comm.cpp its unable to find three header files
#if FCWT_USE_BSD_SOCKETS
#include <arpa/inet.h> //Arduino Sketch unable to find the header file
#include <sys/types.h>
#include <sys/socket.h> //Arduino Sketch unable to find the header file
#include <sys/select.h> //Arduino Sketch unable to find the header file
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#elif FCWT_USE_WINSOCK
#define NOMINMAX
#include <winsock2.h>
#include <Ws2tcpip.h>
#endif
Any ideas how I could fix or add in the files?
Thanks,
Gavin