The AROS Archives(anonymous IP: 18.190.219.178,352) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (96)
   o Datatype (15)
   o Demo (50)
   o Development (247)
   o Document (62)
   o Driver (19)
   o Emulation (62)
   o Game (529)
   o Graphics (224)
   o Library (22)
   o Network (62)
   o Office (21)
   o Utility (250)
   o Video (18)

Total files: 1677

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: 58  (Current version)
58  (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 - 2024 The AROS Archives All Rights Reserved