summaryrefslogtreecommitdiff
path: root/include/pso/TTcpSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso/TTcpSocket.h')
-rw-r--r--include/pso/TTcpSocket.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pso/TTcpSocket.h b/include/pso/TTcpSocket.h
index b6faf56..b2c8cfb 100644
--- a/include/pso/TTcpSocket.h
+++ b/include/pso/TTcpSocket.h
@@ -19,7 +19,10 @@ private:
PSOV3EncryptionTCP m_recv_crypt;
int m_is_encrypted;
public:
- WEAK_FUNC TTcpSocket(TObject *parent = nullptr);
+ WEAK_FUNC TTcpSocket(TObject *parent) : TSocket(parent) {
+ m_name = TTcpSocket_name;
+ }
+
virtual ~TTcpSocket();
virtual short open() override;