bool RecvLine(SOCKET hSocket, string& strLine)
{
- strLine = "";
+ strLine.clear();
for ( ; ; )
{
char c;
bool BindListenPort(const CService &addrBind, string& strError)
{
- strError = "";
+ strError.clear();
int nOne = 1;
// Create socket for listening for incoming connections