mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
24 lines
312 B
C++
24 lines
312 B
C++
/** @file
|
|
*
|
|
* @par History
|
|
*/
|
|
|
|
|
|
#include "sckutil.h"
|
|
|
|
#include "esignal.h"
|
|
#include "strutil.h"
|
|
#include "wnsckt.h"
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Clib
|
|
{
|
|
void writeline( Socket& sck, const std::string& s )
|
|
{
|
|
sck.send( (void*)s.c_str(), static_cast<unsigned int>( s.length() ) );
|
|
sck.send( "\r\n", 2 );
|
|
}
|
|
|
|
}
|
|
}
|