/* * socket.c -- Create sockets for outbound and inbound connections. * * Copyright (C) 2024-2025 Andreas Forsgren * All rights reserved. */ #include #include static char *prgpath; static void usage(FILE *output) { fprintf(output, "usage: %s \n", prgpath); } int main(int argc, char *argv[]) { prgpath = argv[0]; if (argc == 1 || argc > 3) { usage(stderr); return 1; } if (strcmp(argv[1], "-h") == 0) { usage(stdout); return 0; } /* TODO */ return 0; }