From f8b32f7620efdb73055f7fd6af4c796a770050e2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 15 Jan 2016 21:04:16 +0100 Subject: usock: add usock_inet, which returns the remote address Signed-off-by: Felix Fietkau --- usock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usock.h') diff --git a/usock.h b/usock.h index b0b952b..2ead7e5 100644 --- a/usock.h +++ b/usock.h @@ -32,6 +32,7 @@ const char *usock_port(int port); int usock(int type, const char *host, const char *service); +int usock_inet(int type, const char *host, const char *service, void *addr); /** * Wait for a socket to become ready. -- cgit v1.2.3