From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7e353b2859884173,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-16 01:40:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!68102-cm.able.ES!not-for-mail From: "Nazgul" Newsgroups: comp.lang.ada Subject: Adasockets storage problem Date: Sat, 16 Feb 2002 10:40:25 +0100 Message-ID: NNTP-Posting-Host: 68102-cm.able.es (212.97.168.102) X-Trace: fu-berlin.de 1013852450 1058784 212.97.168.102 (16 [107015]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:20074 Date: 2002-02-16T10:40:25+01:00 List-Id: Hi, I'm using the Adasockets library to have network funcionallity in a program. The problem is, it works fine if the server and the client are both running in the same architecture, for example i386, but when the server runs in a HP-UX and the client in i386, the client raises and STORAGE_ERROR when receiving a string. I suppose it's something about little endian/big endian and using htons(), htonl(),... like in C, but I don't know how to fix it. Thanks. ============== A.Iradier