AminetAminet
Search:
84741 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lib/libpsockets.i386-aros.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:The part of AROS-stuff (POSIX Sockets)
Author:BSzili
Uploader:aGGreSSor/CPU (amitrans narod ru)
Type:dev/lib
Version:2014
Architecture:i386-aros
Date:2020-12-08
Requires:ABIv0; i386
Distribution:aminet
Download:dev/lib/libpsockets.i386-aros.lha - View contents
Readme:dev/lib/libpsockets.i386-aros.readme
Downloads:391

============================== 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


Contents of dev/lib/libpsockets.i386-aros.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 9538   11420  83.5% -lh5- 8643 Dec  6 16:45 psockets.info
[unknown]                16295   20920  77.9% -lh5- bda3 Oct  1 23:07 psockets/Docs.info
[unknown]                 6195   21588  28.7% -lh5- 8df4 Dec  6 16:39 psockets/Docs/freeaddinfo.man
[unknown]                 3156    5120  61.6% -lh5- ff2f Oct  1 23:07 psockets/Docs/freeaddinfo.man.info
[unknown]                 5378   16758  32.1% -lh5- bf97 Dec  6 16:41 psockets/Docs/gai_strerror.man
[unknown]                 3156    5120  61.6% -lh5- ff2f Oct  1 23:07 psockets/Docs/gai_strerror.man.info
[unknown]                 6195   21588  28.7% -lh5- 8df4 Dec  6 16:39 psockets/Docs/getaddrinfo.man
[unknown]                 3156    5120  61.6% -lh5- ff2f Oct  1 23:07 psockets/Docs/getaddrinfo.man.info
[unknown]                 2873    7941  36.2% -lh5- 6091 Dec  6 16:40 psockets/Docs/getnameinfo.man
[unknown]                 3156    5120  61.6% -lh5- ff2f Oct  1 23:07 psockets/Docs/getnameinfo.man.info
[unknown]                  740    1829  40.5% -lh5- 79e5 Dec  6 16:43 psockets/Docs/README
[unknown]                 3156    5120  61.6% -lh5- ff2f Oct  1 23:07 psockets/Docs/README.info
[unknown]                 9540   11420  83.5% -lh5- 4923 Dec  6 16:46 psockets/local.info
[unknown]                 9538   11420  83.5% -lh5- f6bc Dec  1 12:32 psockets/local/include.info
[unknown]                  881    2089  42.2% -lh5- ed49 Apr  9  2019 psockets/local/include/addrinfo.h
[unknown]                  199     386  51.6% -lh5- a956 Apr  9  2019 psockets/local/include/arpa/inet.h
[unknown]                  376     771  48.8% -lh5- 15a0 Apr  9  2019 psockets/local/include/netdb.h
[unknown]                   22      22 100.0% -lh0- c77c Apr  9  2019 psockets/local/include/poll.h
[unknown]                  605    1260  48.0% -lh5- b890 Apr  9  2019 psockets/local/include/sys/poll.h
[unknown]                13858   15474  89.6% -lh5- 457a Oct  1 23:07 psockets/local/lib.info
[unknown]                 3957   10614  37.3% -lh5- c98b Dec  5 15:16 psockets/local/lib/libpsockets.a
[unknown]                16178   17408  92.9% -lh5- 2850 Oct 26 00:49 psockets/Source.info
[unknown]                  452     987  45.8% -lh5- 0468 Dec  6 14:40 psockets/Source/gai_strerror.c
[unknown]                  660    1616  40.8% -lh5- cc80 Dec  6 14:40 psockets/Source/gai_strerror.o
[unknown]                 8311   24755  33.6% -lh5- ea3a Dec  6 14:47 psockets/Source/getaddrinfo.c
[unknown]                 1474    3590  41.1% -lh5- 2090 Dec  5 14:22 psockets/Source/getnameinfo.c
[unknown]                  881    2089  42.2% -lh5- ed49 Dec  5 15:37 psockets/Source/include/addrinfo.h
[unknown]                  199     386  51.6% -lh5- a956 Apr  9  2019 psockets/Source/include/arpa/inet.h
[unknown]                  468     939  49.8% -lh5- 941c Dec  6 14:52 psockets/Source/include/netdb.h
[unknown]                   22      22 100.0% -lh0- c77c Apr  9  2019 psockets/Source/include/poll.h
[unknown]                  605    1260  48.0% -lh5- b890 Apr  9  2019 psockets/Source/include/sys/poll.h
[unknown]                 1565    3425  45.7% -lh5- 7287 Dec  5 14:23 psockets/Source/inet_aton.c
[unknown]                  333     630  52.9% -lh5- 1412 Dec  5 14:24 psockets/Source/inet_ntop_ipv4.c
[unknown]                  324     644  50.3% -lh5- d8c1 Apr  9  2019 psockets/Source/inet_pton_ipv4.c
[unknown]                  301     527  57.1% -lh5- d209 Dec  6 14:39 psockets/Source/Makefile
[unknown]                 1426    4226  33.7% -lh5- e95d Dec  5 14:20 psockets/Source/poll.c
[unknown]                 3433   10087  34.0% -lh5- 5f29 Dec  5 15:13 psockets/Source/testga.c
[unknown]                 9366   20740  45.2% -lh5- a6d1 Dec  5 15:16 psockets/testga
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        38 files  147968  274431  53.9%            Dec  8 04:29
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>