Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1e75df1812
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.425 kB
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "utils.h"
#include "service.h"
#include "server.h"
int main(int argc, char *argv[])
{
/* if (argc < 2) die("USAGE: micetrap <service> <port>"); */
int port = 0;
if (argc == 3) {
port = atoi(argv[2]);
}
/* Service *service = Service_build(argv[1]); */
Service *service = Service_build("ftp");
Server_start(service, 9999);
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.