Loading examples/in.cpp→examples/socketin.cpp +0 −0 File moved. View file examples/out.cpp→examples/socketout.cpp +0 −0 File moved. View file include/InputSocketServer.h +2 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,8 @@ public: virtual void close() throw(PacketExceptionIO*); virtual ByteStream* readByteStream(int n_byte) throw(PacketExceptionIO*); virtual ByteStream* readByteStream(dword n_byte) throw(PacketExceptionIO*); virtual char* readString() throw(PacketExceptionIO*); Loading include/Packet.h +4 −0 Original line number Diff line number Diff line Loading @@ -188,6 +188,10 @@ public: bool thereIsPrefix(); bool isBigendian() { return bigendian; } /// This attribute represents the packet header. PacketHeader *header; Loading src/InputSocketServer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void InputSocketServer::close() throw(PacketExceptionIO*) ByteStream* InputSocketServer::readByteStream(int n_byte) throw(PacketExceptionIO*) ByteStream* InputSocketServer::readByteStream(dword n_byte) throw(PacketExceptionIO*) { int status = 0; if(!accepted) Loading Loading
include/InputSocketServer.h +2 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,8 @@ public: virtual void close() throw(PacketExceptionIO*); virtual ByteStream* readByteStream(int n_byte) throw(PacketExceptionIO*); virtual ByteStream* readByteStream(dword n_byte) throw(PacketExceptionIO*); virtual char* readString() throw(PacketExceptionIO*); Loading
include/Packet.h +4 −0 Original line number Diff line number Diff line Loading @@ -188,6 +188,10 @@ public: bool thereIsPrefix(); bool isBigendian() { return bigendian; } /// This attribute represents the packet header. PacketHeader *header; Loading
src/InputSocketServer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void InputSocketServer::close() throw(PacketExceptionIO*) ByteStream* InputSocketServer::readByteStream(int n_byte) throw(PacketExceptionIO*) ByteStream* InputSocketServer::readByteStream(dword n_byte) throw(PacketExceptionIO*) { int status = 0; if(!accepted) Loading