summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TSocket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pso/TSocket.h b/include/pso/TSocket.h
index bbf60fc..b11d8ef 100644
--- a/include/pso/TSocket.h
+++ b/include/pso/TSocket.h
@@ -36,10 +36,10 @@ public:
TSocket(TObject *parent);
virtual ~TSocket();
- virtual int open() = 0;
- virtual int close() = 0;
+ virtual short open() = 0;
+ virtual short close() = 0;
virtual void recv() = 0;
- virtual int send(u8 *data) = 0;
+ virtual short send(u8 *data) = 0;
virtual int send(u8 *data, size_t size) = 0;
int resolve_domain(char *domain);