Ripped out all networking systems; simply not working correctly

This commit is contained in:
Kayne Ruse
2013-05-17 19:59:31 +10:00
parent 24e48dec53
commit 5ade2cc98e
17 changed files with 9 additions and 787 deletions
-13
View File
@@ -1,5 +1,3 @@
#include "network.hpp"
#include <iostream>
using namespace std;
@@ -7,16 +5,5 @@ using namespace std;
//receive any amount of info and print it
int main(int, char**) {
NetworkInit();
TCPSocket sock("127.0.0.1",2000);
char buffer[512];
while(true) {
memset(buffer, 0, 512);
if (sock.Recv(buffer, 512)) {
cout << buffer << endl;
}
}
NetworkQuit();
return 0;
}