diff options
| author | 2006-08-01 11:46:19 +0000 | |
|---|---|---|
| committer | 2006-08-01 11:46:19 +0000 | |
| commit | 4488e477136ea3daa60a744bac272cc37a604136 (patch) | |
| tree | 49ec2884832cea192feb6a667f9ec8d352c14199 /include/socket.h | |
| parent | AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6 (diff) | |
| download | inspircd++-4488e477136ea3daa60a744bac272cc37a604136.tar.gz inspircd++-4488e477136ea3daa60a744bac272cc37a604136.tar.bz2 inspircd++-4488e477136ea3daa60a744bac272cc37a604136.zip | |
The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
| -rw-r--r-- | include/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index 01005305b..254d23f46 100644 --- a/include/socket.h +++ b/include/socket.h @@ -47,6 +47,9 @@ typedef struct in_addr insp_inaddr; #endif +const char* insp_ntoa(insp_inaddr n); +int insp_aton(const char* a, insp_inaddr* n); + int OpenTCPSocket(); bool BindSocket(int sockfd, insp_sockaddr client, insp_sockaddr server, int port, char* addr); int BindPorts(bool bail); |
