#include <ortp/port.h>
#include "server.cmdline.h"
+#include "para.h"
+#include "afh.h"
#include "server.h"
#include "vss.h"
#include "send.h"
if (!p)
goto err;
*p = '\0';
- if (!inet_aton(arg, &addr))
+ if (!inet_pton(AF_INET, arg, &addr))
goto err;
port = atoi(++p);
if (port < 0 || port > 65535)