diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-15 23:04:16 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-15 23:04:16 +0300 |
commit | f8b32f7620efdb73055f7fd6af4c796a770050e2 (patch) | |
tree | de58aca83af3df737fd474282f9fcbf999b93040 /usock.h | |
parent | 682e071ef71f52125793aabb9e060343ea481443 (diff) |
usock: add usock_inet, which returns the remote address
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'usock.h')
-rw-r--r-- | usock.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |