Short: The part of AROS-stuff (POSIX Sockets) Author: BSzili Uploader: aGGreSSor/CPU (amitrans narod ru) Type: dev/lib Version: 2014 Requires: ABIv0; i386 Architecture: i386-aros Distribution: aminet ============================== F E A T U R E S ============================== psockets - part of aros-stuff by BSzili It's MUST HAVE if you are missing typical calls: - getaddrinfo() - freeaddrinfo() - getnameinfo() - gai_strerror() ============================ R E Q U I R E M E N T ========================== libpsockets tested and worked fine on the following configurations: - IcarOS i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) - AROS One i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) ================================= U S A G E ================================= 1) Copy local/lib/libpsockets.a to your libs directory (example: /usr/local/amiga/i386-aros/lib/) 2) Copy local/include/*.h to your headers directory (example: /usr/local/amiga/i386-aros/include) 3) Add this line at the beginning of your code : #include #include #include 4) Compile and enjoy. Test utility: > testga -h localhost -r tcp -c -t stream socket(AF_INET, SOCK_STREAM, 6), ai_canonname = localhost.RT-N16 address: 127.0.0.1 > testga -h amiga.org.ru -r tcp -c -t stream socket(AF_INET, SOCK_STREAM, 6), ai_canonname = amiga.org.ru address: 95.85.29.138 socket(AF_INET, SOCK_STREAM, 6) address: 138.68.74.243 ================================ S O U R C E ================================ Based on github version source https://github.com/BSzili/aros-stuff/tree/master/psockets ______ ______ ______ ______ ______|:: .__|:: .__|_____ ______|:: ___|:: ___|______ _____ |: , |: | |: | |: ,_|: ,__|:___ |:___ |: - |: ,_| |__|___|______|______|___| _____|______|______|______|___| home cross-compilation factory