Fixed PSP compilation by stubbing the socket implementation. Somebody with a PSP, please replace this code with a real implementation.

This commit is contained in:
Xawotihs@gmail.com
2013-02-03 21:41:31 +00:00
parent 5c25189aef
commit 5a9b7eefc0
5 changed files with 35 additions and 24 deletions

View File

@@ -188,11 +188,7 @@ void JNetwork::ThreadProc(void* param)
pThis->toSend.str("");
}
}
#ifdef LINUX
boost::this_thread::sleep(boost::posix_time::milliseconds(1));
#elif WIN32
// boost::this_thread::sleep(boost::posix_time::microseconds(10));
#endif
}
DebugTrace("Quitting Thread");
@@ -209,7 +205,7 @@ int JNetwork::connect(const string& ip)
#else
int JNetwork::connect(string serverIP){
int JNetwork::connect(const string& serverIP){
#ifdef NETWORK_SUPPORT
int err;
char buffer[4096];