SCOUG-Programming Mailing List Archives
Return to [ 31 |
May |
1998 ]
>> Next Message >>
Content Type: text/plain
On Fri, 29 May 1998 13:35:43 PST8PDT, Gregory W. Smith wrote:
> I used the Gnu/EMX complier to compile the program. Be sure to
>include the socket library at the end of your compile command:
Greg, this is a good example, thanks!
For those interested, to compile it under Visual Age, make the following changes:
On line 20, replace:
#include
with:
#ifdef __IBMC__
#include "utils.h"
#define close(a) soclose(a)
#else
#include
#endif
And to compile, use:
icc client.c so32dll.lib tcp32dll.lib
assuming the two libraries are in your LIB environement variable path.
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
>> Next Message >>
Return to [ 31 |
May |
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|