X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fnet%2Fcommunicator.h;h=5921767e6a37ada58ba91876f5a2b80a30c3c59a;hp=cd465a52d525c25cf837db2cca614a5a6e8cfc98;hb=3c2a877580e234df5fcbe06bf2850cd29f875e28;hpb=b069cfc670fb78b4b429d07d2aadb59628426a25 diff --git a/source/net/communicator.h b/source/net/communicator.h index cd465a5..5921767 100644 --- a/source/net/communicator.h +++ b/source/net/communicator.h @@ -47,7 +47,7 @@ public: throw sequence_error("connection aborted"); if(handshake_status!=2) throw sequence_error("handshaking not done"); - unsigned size = protocol.assemble(pkt, out_buf, buf_size); + unsigned size = protocol.serialize(pkt, out_buf, buf_size); try { socket.write(out_buf, size);