changeset 180 | ea83b9e9057f |
parent 177 | c67c15e6fae3 |
child 184 | f97a7a3dc8f6 |
--- a/QTfrontend/hwmap.cpp Sun Oct 01 20:31:48 2006 +0000 +++ b/QTfrontend/hwmap.cpp Mon Oct 02 18:09:39 2006 +0000 @@ -33,7 +33,8 @@ #include "hwmap.h" -HWMap::HWMap() +HWMap::HWMap() : + TCPBase(false) { } @@ -65,9 +66,6 @@ void HWMap::SendToClientFirst() { std::string toSend=std::string("eseed ")+m_seed; - char ln=(char)toSend.length(); - IPCSocket->write(&ln, 1); - IPCSocket->write(toSend.c_str(), ln); - - IPCSocket->write("\x01!", 2); + SendIPC(toSend.c_str()); + SendIPC("!"); }