34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
main()
{
uint16_t port;
srand(time(NULL));
@try {
[OFTCPSocket startup];
OFTCPSocket *server = [OFTCPSocket new];
OFTCPSocket *client = [OFTCPSocket new];
OFTCPSocket *accepted;
char buf[7];
puts("== IPv4 ==");
port = get_port();
|
<
<
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
main()
{
uint16_t port;
srand(time(NULL));
@try {
OFTCPSocket *server = [OFTCPSocket new];
OFTCPSocket *client = [OFTCPSocket new];
OFTCPSocket *accepted;
char buf[7];
puts("== IPv4 ==");
port = get_port();
|