summaryrefslogtreecommitdiff
path: root/include/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tcp.h')
-rw-r--r--include/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tcp.h b/include/tcp.h
index 03a7ec7..d33f0b0 100644
--- a/include/tcp.h
+++ b/include/tcp.h
@@ -16,6 +16,7 @@ extern void destroySockTcp(sock_tcp_t *p);
extern sock_tcp_t* bindTcpSocket(int port);
extern sock_tcp_t* getTcpNewClient(sock_tcp_t *p);
extern void getSockTcpIp(sock_tcp_t *p, char *str_ip);
+extern int getSockTcpPort(sock_tcp_t *p);
extern sock_tcp_t* connectTcpSocket(char *ip, int port);
extern int readTcpSocket(sock_tcp_t *p, void *address, int len);
extern int writeTcpSocket(sock_tcp_t *p, void *address, int len);