mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 16:50:29 -04:00
17 lines
367 B
C++
17 lines
367 B
C++
--- src/tcpservertest.cpp.orig 2012-12-03 14:28:35.000000000 +0100
|
|
+++ src/tcpservertest.cpp 2012-12-03 14:28:46.000000000 +0100
|
|
@@ -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;
|
|
}
|
|
|