Article View: comp.os.os2.networking
Article #1453Re: Working on OS/2 2.1 beta X11R4 libraries -> 16 vs 32 bit socket API
From: Thomas Leitner
Date: Wed, 27 Jan 1993 09:44
Date: Wed, 27 Jan 1993 09:44
26 lines
1953 bytes
1953 bytes
Timothy F. Sipples (sip1@ellis.uchicago.edu) wrote: : In article <1ju2n0INN2dd@neuro.usc.edu> merlin@neuro.usc.edu (merlin) writes: : >The IBM TCP/IP programming libraries and sample code supplied on the OS/2 2.1 : >11/92 PDK CDROM appears to be limited to 16 bit calls and compilation using : >the Microsoft C 6.00A compiler/linker/etc. : >I seem to recall seeing a reference to a 32 bit socket library somewhere on : >the network. Perhaps someone could point out where to get the 32 bit socket : >library. : Filename is either progcsd.zip or prgcsd.zip (I can't remember which : one), and it is available via anonymous ftp from ftp-os2.nmsu.edu. : Check file /pub/os2/00Index for location. One comment, though: The 32-bit libs work quite well. There's only one problem though: Buffers which are to be written to the network with the send call must not cross a 64k boundary. I just used to call send(sockid, buffer, 128000) for instance to transmit an 128000 byte buffer. This is *NOT* possible with the PROGCSD.ZIP or PRGCSD.ZIP extension. You got to chop up your buffer in smaller pieces, copy the pieces to a buffer which does not cross a 64k boundary (I use a buffer on the stack) and transmit this buffer. I hope they come up with a fully 32-bit implementation of the TCP/IP package soon... Tom
Technical Details
Message-ID:
<1k5liaINNh7g@fstgds15.tu-graz.ac.at>Path:
arc1-ca.pugleaf.net!sparky!uunet!digex.com!intercon!udel!gatech!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!hp4at!news.univie.ac.at!fstgds15.tu-graz.ac.at!tomReferences:
<1993Jan24.232926.2508@midway.uchicago.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!digex.com!intercon!udel!gatech!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!hp4at!news.univie.ac.at!fstgds15.tu-graz.ac.at!tom From: tom@finwds01.tu-graz.ac.at (Thomas Leitner) Newsgroups: comp.os.os2.networking Subject: Re: Working on OS/2 2.1 beta X11R4 libraries -> 16 vs 32 bit socket API Date: 27 Jan 1993 09:44:42 GMT Organization: Technical University of Graz, Austria Lines: 26 Message-ID: <1k5liaINNh7g@fstgds15.tu-graz.ac.at> References: <1993Jan24.232926.2508@midway.uchicago.edu> NNTP-Posting-Host: finwds01.tu-graz.ac.at X-Newsreader: TIN [version 1.1 PL8]