diff --git a/tsock_v1.c b/tsock_v1.c index e3cce3d..65f5977 100644 --- a/tsock_v1.c +++ b/tsock_v1.c @@ -19,23 +19,12 @@ #include #define BASE_SIZE 10 -void construire_message(char *message, char motif, int lg) { - int i; - for (i=0;i [-ps] [host] \n"); + printf("parameters: host With -s, address of the host to connect to. Required with -s.\n"); + printf(" port Port to connect or bind to. Required.\n"); + printf("options: -p Runs a TCP/UDP sink. Incompatible with -s.\n"); + printf(" -s Runs a TCP/UDP faucet. Incompatible with -p.\n"); + printf(" -u Use UDP instead of TCP. Required.\n"); +} +