iam developing a dll component that uses winsock activex control. My component uses this winsock , connects over a tcpip and sends some data and receives data over the ip . However , iam not being able to let my asp page wait for the events of the activex winsok to occur in my component and thus the code of the asp is exceuted in the browser with no response from my dll . To make it clearer , i only send the data over the ip when the winsock-onConnect() event occurs . My asp page is not waiting for this event to occur and thus iam losing focus to the browser. How can i let the asp page wait for the event? <BR><BR>