The AROS Archives(anonymous IP: 44.210.77.106,247) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (90)
   o Datatype (15)
   o Demo (40)
   o Development (237)
   o Document (46)
   o Driver (18)
   o Emulation (59)
   o Game (483)
   o Graphics (196)
   o Library (20)
   o Network (51)
   o Office (18)
   o Utility (237)
   o Video (16)

Total files: 1526

Full index file
Recent index file

Part of aros exec
 Readme for:  Development » Library » libpsockets.i386-aros.lha

libpsockets

Description: the part of AROS-stuff (POSIX Sockets)
Download: libpsockets.i386-aros.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 150kb
Version: 2014
Date: 08 Dec 20
Author: BSzili
Submitter: aGGreSSor [CPU]
Homepage: https://github.com/BSzili/aros-stuff/tree/master/psockets
Requirements: ABIv0; i386-aros
Category: development/library
License: GPL
Distribute: yes
FileID: 2246
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 39  (Current version)
39  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[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 - 2022 The AROS Archives All Rights Reserved