mycodaemon.c 241 B

123456789101112131415161718
  1. /*
  2. * mycodaemon.c
  3. */
  4. #include "../src/myco-daemon.c"
  5. // TODO: make into daemon later
  6. int main() {
  7. if (myco_daemon_start(getpid(), "127.0.0.1", "127.0.0.1") == -1) {
  8. return EXIT_FAILURE;
  9. }
  10. return EXIT_SUCCESS;
  11. }