socket: Move host:port parsing to socket function

This commit is contained in:
Kim Woelders
2023-02-12 22:12:59 +01:00
parent a49f95a300
commit a978e86c82
3 changed files with 23 additions and 38 deletions
+1 -1
View File
@@ -4,6 +4,6 @@
#ifndef NVT_SOCKET_H
#define NVT_SOCKET_H
int socket_create_client(const char *host, unsigned int port);
int socket_create_client(const char *addr);
#endif /* NVT_SOCKET_H */