home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / pmsock01.zip / pmsock.txt < prev    next >
Text File  |  1994-09-23  |  3KB  |  58 lines

  1.  
  2. PMSock v 0.1 (ALPHA)
  3. --------------------
  4.  
  5. This is an alpha version of PM Sockets, an OS/2 interface for IBM's TCP/IP 
  6. based on Windows Sockets v1.1.  PM Socket's purpose is to provide easy 
  7. porting of WinSock Windows 3.1 code to OS/2 and to be a free programmer's 
  8. toolkit for IBM TCP/IP.
  9.  
  10.  
  11.   ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA
  12.  
  13.   This is ALPHA software, meaning it is subject to major change and/or 
  14.   major unstability.  If you use it, you become an ALPHA tester (read: 
  15.   Guinea-Pig) and should do the following: test every feature you can; 
  16.   note any bugs; list any desired features; and send your results to
  17.   loflin@mail.utexas.edu.
  18.  
  19.   This software is copyright (c) 1994 by Don Loflin.  Use is free for
  20.   noncommercial uses.  
  21.  
  22.   ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA----ALPHA
  23.  
  24.  
  25. Currently, PMSock only supports the synchronous calls of WinSock 1.1.
  26. A later version of PMSock will support the WinSock asynchronous calls
  27. (such as WSAAsync_send) in the PM environment.  This may require
  28. WinSock code using async calls (which is unfortunately most of it) to
  29. be modified more than non-async code.  Currently, non-async WinSock
  30. code seems to port pretty cleanly with little or no modification,
  31. although select() type calls may run into problems if the code accesses
  32. fd_set structures directly.  A sample OS/2 application using non-async 
  33. calls, daytime, is included in this kit.  I have ported the IMAP 3.4 
  34. c-client toolkit to OS/2 using PMSock, which I will make available 
  35. shortly.  Hopefully soon I can make the CERN WWWLib available too.
  36.  
  37.  
  38. Using the PM Sockets kit:
  39. ------------------------
  40.  
  41. This kit is designed for use with EMX/GCC 0.8h.  You may be able to adapt
  42. it for use with other compilers, and I may add support for others later,
  43. but for now, it requires EMX.  The rest of this document assumes you're
  44. using EMX.
  45.  
  46. To write programs which use PM Sockets, include the file "pmsock.h" in
  47. your source, add "pmsock.o" to your object file list, and add the libraries
  48. "so32dll.a" and "tcp32dll.a" to your link step.  If you don't have the
  49. libraries, the Makefile in the PMSock kit will create them for you from the 
  50. corresponding DLLs if the entry for $(TCPIP) is correct.  PMSock 0.1 does not 
  51. require the IBM TCP/IP Programmer's Toolkit.  However, to create the 
  52. libraries, you will need the IMPLIB utility, which is included with most
  53. compilers (except EMX).  
  54.  
  55. A later version of PM Sockets will probably convert to a single DLL or 
  56. library, avoiding the need for implib.
  57.  
  58.