ASP sockets & mswinsck.ocx

Results 1 to 2 of 2

Thread: ASP sockets & mswinsck.ocx

  1. #1
    Join Date
    Dec 1969

    Default ASP sockets & mswinsck.ocx

    Hi<BR><BR>I&#039;ve installed the mswinsck.ocx file on my server, and would like to create a socket to connect to an external data source.<BR><BR>When I use the <BR><BR>"set mysocket = server.createobject("socket")<BR><BR>command I get an error outputted to my screen saying<BR><BR>"Invalid class string".<BR><BR>Does anyone know what I am doing wrong?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default I would GUESS....

    That "Socket" isn&#039;t a class string. In fact, I know it&#039;s not.<BR><BR>How would you do it in VB? Is it "set mysocket = CreateObject("Winsock.Socket")" ?<BR><BR>I don&#039;t know, because I&#039;ve never used them (I use winsock objects in classic VB), but I would guess this is your problem.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts