Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WINSOCK2 API for Delphi

383 views
Skip to first unread message

Sigi Vransak

unread,
Feb 2, 1999, 3:00:00 AM2/2/99
to
Hello,

Well, first the problem:

I'm developing a complex client application using NT 4.0 and also running
under NT with TCP/IP socket streams. First try, I was using winsock version
1.1, that is included in my Delphi client/server suite (D2). Then I become
familiarly with this sockets API for windows, I noticed that there is a nice
possibility with the new winsock2 api using socket I/O in OVERLAPPED mode -
WSASocket() - and using EventObjects - WSAEventSelect(), etc. - , instead of
blocking sockets, respectively nonblocking sockets and polling in old
winsock version 1.1. This is the reason, I want develop my app. with
winsock2 api. I'm also familiarly using theads, critical sections,
semaphores, mutual exclusive objects and event objects under NT, but the
best way to develop this socket stream would be the use of WINSOCK2 API.

About two weeks ago, I've tried to get the Pascal-API for WINSOCK2 (Version
2.2). Some responses, but it seems no one has the API for Delphi.

One response said, this API is Delphi VCL code, and he/she could not give
away, should buy them. Well, no prob for me.

So I bought the latest version of Delphi, D4 now, including source code,
RTL, VCL, etc. But what happens? Could it really be true? Only the old
WINSOCK (version 1.1) code is included there. This is the same as I already
have in my D2 Client/Server suite. What the hell?

Nobody out there using WINSOCK2 API in Delphi? Really??? I cannot believe.
What's going on this time? What a shame for Inprise/Borland.

Therefore my appeal to all u good developers out there:

Can anybody help me to find the simple WINSOCK2 API file in delphi pascal
format?

NB: I have winsock2.h but look at this code, and u'll never wanna touch them
and convert to pas. But Inprise should, cz the get my money!
Now I own D2 Client/Server suite and also D4.

Thank u very much for any constructive help!

Sigi Vransak


Bob Cousins

unread,
Feb 2, 1999, 3:00:00 AM2/2/99
to
In alt.winsock.programming, Sigi Vransak wrote:

>Can anybody help me to find the simple WINSOCK2 API file in delphi pascal
>format?

I went through this loop some time ago, and the only version I found was one
produced by a guy called Artur Grajek, from around April 1998. As his webpage no
longer seems to be there, I've put the file as I have it on my website
http://www.lintilla.demon.co.uk/winsock2.zip

I haven't used this extensively so there may be some bugs, but it worked ok for
what I wanted.
--
Bob Cousins, Software Engineer.
http://www.lintilla.demon.co.uk/
"We demand that we may, or may not, be philosophers!"


Spencer Bray

unread,
Feb 3, 1999, 3:00:00 AM2/3/99
to

Nice one bob.
I have talking to sigi as we have both been tracking this file.
Thanks alot.


Sigi Vransak

unread,
Feb 3, 1999, 3:00:00 AM2/3/99
to
Thank you very much! I've downloaded and compiled and it works fine. When I
find some bugs, I could notice you, if you want. Thx!

Sigi Vransak

Bob Cousins schrieb in Nachricht <36b7810c...@news.supernews.co.uk>...

Bob Cousins

unread,
Feb 3, 1999, 3:00:00 AM2/3/99
to
In alt.winsock.programming, Sigi Vransak wrote:

>Thank you very much! I've downloaded and compiled and it works fine. When I
>find some bugs, I could notice you, if you want. Thx!

Please do.

0 new messages