commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
22
include/platform/network/network_interface.cpp
Normal file
22
include/platform/network/network_interface.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#include "network/network_interface.h"
|
||||
#include "nstring/nstring.h"
|
||||
|
||||
using namespace GS::Network;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
bool INetwork::SendString(void *peer, const GS::String &s)
|
||||
{
|
||||
return Send(peer, (void *)s.c_str(), (size_t)(s.Len() + 1));
|
||||
}
|
||||
bool INetwork::BroadcastString(const GS::String &s)
|
||||
{
|
||||
return Broadcast((void *)s.c_str(), (size_t)(s.Len() + 1));
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user