Download simple-sockets-11-c.hqx (211,488 KB)
From: mtrent@msn.fullfeed.com (Michael Trent)
Subject: simple-sockets-11
Simple Sockets is a small, relatively simple C code library for
approximating BSD UNIX socket calls with MacTCP. Simple Sockets
doesn't provide 100% faithful BSD port, rather it is a quick and easy
way to "get the job done". This is a work in progress; BSD support
should improve in time. I welcome suggestions and criticisms of the
source code.
All sample applications are "fat binaries" compiled with
Metrowerks
CodeWarrior. Simple Sockets should still work with older compilers, provided
proper MacTCP headers can be found.
Simple Sockets is public domain; I ask only that it be distributed
in its original archive form. It may be included on Info-Mac CDRoms.
Changes since 1.0.1:
- Updated code and projects for Metrowerks CodeWarrior 7.
- Added #ifdefs to allow Simple Sockets to jive with older headers w/o
extra modification.
- More documentation changes.
- A nifty new version of the manual "HTML-ified" by Chris Hanson
- Renewed commitment to keep this library in the public domain.
Changes since 1.0:
- Updated code and projects for Metrowerks CodeWarrior 6.
- Minor modifications to select(), recvfrom(), and maybe others.
- Select() has been added to the manual.
- Some additions to this file, including my new e-mail address.
- Added MacTCP header files (for those without them), and added a
"fixed" dnr.c file.