home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / networki / 2936 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: 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
  2. From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
  3. Newsgroups: comp.os.os2.networking
  4. Subject: Re: Working on OS/2 2.1 beta X11R4 libraries -> 16 vs 32 bit socket API
  5. Date: 27 Jan 1993 09:44:42 GMT
  6. Organization: Technical University of Graz, Austria
  7. Lines: 26
  8. Message-ID: <1k5liaINNh7g@fstgds15.tu-graz.ac.at>
  9. References: <1993Jan24.232926.2508@midway.uchicago.edu>
  10. NNTP-Posting-Host: finwds01.tu-graz.ac.at
  11. X-Newsreader: TIN [version 1.1 PL8]
  12.  
  13. Timothy F. Sipples (sip1@ellis.uchicago.edu) wrote:
  14. : In article <1ju2n0INN2dd@neuro.usc.edu> merlin@neuro.usc.edu (merlin) writes:
  15. : >The IBM TCP/IP programming libraries and sample code supplied on the OS/2 2.1
  16. : >11/92 PDK CDROM appears to be limited to 16 bit calls and compilation using
  17. : >the Microsoft C 6.00A compiler/linker/etc.
  18. : >I seem to recall seeing a reference to a 32 bit socket library somewhere on
  19. : >the network.  Perhaps someone could point out where to get the 32 bit socket
  20. : >library.
  21.  
  22. : Filename is either progcsd.zip or prgcsd.zip (I can't remember which
  23. : one), and it is available via anonymous ftp from ftp-os2.nmsu.edu.
  24. : Check file /pub/os2/00Index for location.
  25.  
  26. One comment, though: The 32-bit libs work quite well. There's only one
  27. problem though: Buffers which are to be written to the network with the
  28. send call must not cross a 64k boundary. I just used to call send(sockid,
  29. buffer, 128000) for instance to transmit an 128000 byte buffer. This is
  30. *NOT* possible with the PROGCSD.ZIP or PRGCSD.ZIP extension. You got
  31. to chop up your buffer in smaller pieces, copy the pieces to a buffer
  32. which does not cross a 64k boundary (I use a buffer on the stack) and
  33. transmit this buffer.
  34.  
  35. I hope they come up with a fully 32-bit implementation of the TCP/IP
  36. package soon...
  37.  
  38. Tom
  39.