(anonymous IP: 18.190.219.178,352) | ||||||||||||||
| ||||||||||||||
Audio (96) Datatype (15) Demo (50) Development (247) Document (62) Driver (19) Emulation (62) Game (529) Graphics (224) Library (22) Network (62) Office (21) Utility (250) Video (18) Total files: 1677 Full index file Recent index file Part of aros exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] ============================== 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 <addrinfo.h> #include <netdb.h> #include <poll.h> 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 |
Copyright © 2005 - 2024 The AROS Archives All Rights Reserved |