socket: Move host:port parsing to socket function
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user