39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
n |= *p++ << 16;
return n | (*p++ << 24);
} else
return c;
};
void
sendstring(char *t, uchar *&p)
{
while (*t)
putint(p, *t++);
putint(p, 0);
};
const char *modenames[] = {
|
|
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
n |= *p++ << 16;
return n | (*p++ << 24);
} else
return c;
};
void
sendstring(const char *t, uchar *&p)
{
while (*t)
putint(p, *t++);
putint(p, 0);
};
const char *modenames[] = {
|
180
181
182
183
184
185
186
187
188
189
190
|
default:
printf("WARNING: unknown commandline option\n");
};
};
if (enet_initialize() < 0)
fatal("Unable to initialise network module");
initserver(true, uprate, sdesc, ip, master, passwd, maxcl);
return 0;
};
#endif
|
|
<
>
|
180
181
182
183
184
185
186
187
188
189
190
|
default:
printf("WARNING: unknown commandline option\n");
};
};
if (enet_initialize() < 0)
fatal("Unable to initialise network module");
initserver(true, uprate, sdesc, ip, master, @(passwd), maxcl);
return 0;
}
#endif
|