blob: 2dcdfc1a999a2afd3ace21e32f4c90713b639c6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- src/tcpservertest.cpp.orig 2012-12-03 14:28:35.000000000 +0100
+++ src/tcpservertest.cpp 2012-12-03 14:28:46.000000000 +0100
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
@@ -30,6 +30,7 @@
#include "tcpsocket.h"
+int
main() {
printf("\r\nInit Object...");
TCPSocket *MyServerSocket = new TCPSocket;
@@ -67,5 +68,6 @@
while(waitpid(-1, NULL, WNOHANG) > 0);
}
+ return 0;
}
|