/* global */ #include #include #include #include /* sys */ #include #include /* socket */ #include #include // getaddrinfo, getnameinfo #include /* basis */ #define TRUE 1 #define FALSE 0 /* debug */ // #define DEBUGMOD FALSE // TRUE = débugmode activé #define DEBUGMOD TRUE // TRUE = débugmode activé /* vars */ #define remoteHost "localhost" #define remotePort "80" #define maxBuffLen 4096 #define maxListLen 2 #define maxHostLen 64 #define maxPortLen 6 #define FTP_HOST "31.170.164.47" #define FTP_PORT "21" /* local dependencies */ #include "dep/utility.c" #include "dep/client.c" #include "dep/server.c"