Stephen Jeaco (pigsfly@globalnet.co.uk) wrote:
: I posted a message about accessing winsock features using Turbo
Pascal
: for Windows 1.5. Can it be done through Pascal for Windows?
Yes. I used the Pascal Winsock unit available as:
ftp://mirrors.aol.com/pub/cica/pc/win3/programr/tp/pasock10.zip
see below!
Keep one eye on the Winsock.doc that comes with it as there are
some
mistakes in the pascal interface with data types to pass (pointers
or not).
There is also at least one mistake in my version of winsock itself,
so test everything!
I found the Winsock interface unnecessarily complicated for my purpose.
(Teaching a beginners programming course in high school.)
So I've written
my own interface for accessing TCP sockets. It immitates
the amiga TCP
interface which I'm used to with only 5 functions: OpenTCP,
ReadTCP,
WriteTCP, CheckTCP, and CloseTCP. Would anyone else out there
be
interested in this unit?
_
|/|\/|
|| Maths & Computer Science
|\| |orewood@south.sd41.bc.ca || Beautiful British
Columbia
(Canada)
Hi Franz, thanks for the interest.
A couple of people expressed an interest, so I'll post it on my
Website.
However, I left the debugged source code at school and I want to
tidy
it up a little more. So I won't be uploading it until Monday
night
(Pacific Time ! 8^)
The specific URL for downloading will be:
http://vancouver.planeteer.com/~morewood/tcp.zip
see below