Board index » delphi » winsock.dll in delphi1.0

winsock.dll in delphi1.0

Hi, I use delphi 1.0 and delphi2.0
I wrote socket program in delphi2.0 ( by using windows95 api)
I wanna socket program in delphi1.0
But windows3.1 dosen't has socket api.
I manage get winscok.dll But I don't know how use it.
Please Tell me the way.

Thank you.

 

Re:winsock.dll in delphi1.0


Quote
ki...@mail.hyundai.net wrote:
> Hi, I use delphi 1.0 and delphi2.0
> I wrote socket program in delphi2.0 ( by using windows95 api)
> I wanna socket program in delphi1.0
> But windows3.1 dosen't has socket api.
> I manage get winscok.dll But I don't know how use it.

If you have a winsock for Win3.1 (e.g. Microsofts TCP/IP stack or the one
from trumpet) you only need the interface unit to use this in Delphi. As
there is no winsock.pas with Delphi 1 I have modified the one which came
with Delphi 2 to work with all Delphi version, you can download it from my
webpage (it's in the TCP/IP components fix pack).

Bye,
   Andy

--
Andreas H"orstemeier                       | "We are not interested in
email: a...@scp.de                         | little green men, but in little
       a...@hoerstemeier.de                | green women."
www:   http://www.westend.de/~hoerstemeier | (Edwin "Buzz" Aldrin)
fido:  2:2452/108     ICQ: 1661968         |

Other Threads