I am starting to experiment with creating my own activex components for use in my websites ASP pages.

I would like my new component to be able to send and receive information with other servers using Microsoft's WINSOCK control.

How could I accomplish this? I have tried

Winsock1 = Server.CreateObject("MSWinsockLib.Winsock")

but for some reason the object is not created successfully. How would I accomplish this? How would I take advantage of the controls events (DataArrival etc)? Thanks for your assistance.

TheLeeMan

[This message has been edited by TheLeeMan (edited 01-25-2000).]