Use getsockname() from FreeBSD

This commit is contained in:
Sebastian Huber
2013-10-14 13:24:10 +02:00
parent 0beab1e86a
commit 8989c110f5
5 changed files with 86 additions and 89 deletions

View File

@@ -63,6 +63,8 @@ int connect(int, const struct sockaddr *, socklen_t);
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
int listen(int, int);