BlinkenArea - GitList
Repositories
Blog
Wiki
BlinkenLib
Code
Commits
Branches
Tags
Search
Tree:
860e91b
Branches
Tags
master
v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
BlinkenLib
tools
Tools2.h
format
Stefan Schuermans
commited
860e91b
at 2023-08-18 09:55:23
Tools2.h
Blame
History
Raw
/* BlinkenLib Copyright 2004-2014 Stefan Schuermans <stefan@schuermans.info> Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html a blinkenarea.org project */ #ifndef INC_BlinkenLib_Tools2 #define INC_BlinkenLib_Tools2 #ifdef WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else #include <arpa/inet.h> #endif // convert text to IPv4 address int txt2addr(char *text, struct sockaddr_in *addr); // convert text to IPv6 address int txt2addr6(char *text, struct sockaddr_in6 *addr6); #endif // #ifndef INC_BlinkenLib_Tools2