tags:

views:

127

answers:

3

I've downloaded the w3sockets. Primarily using for trying to do telnet via an application. So far we've been experimenting with vbscript. In vbscript we do something like:

Set socket = CreateObject("Socket.Tcp")

I am trying to use this for a .net application. I need to know the dll it is hosted in. Anyway I can find this?

A: 

Look in the registry under HKEY_CLASSES_ROOT and search for Socket.TCP. Drill down and it should be there.

If all there is under there is a guid like

{ECCDF543-45CC-11CE-B9BF-0080C87CDBA6}

Then search for that under the registry. It should all be there.

Preet Sangha
A: 

You can search the registry for that progid (the human-readable name), use the entry there to find the classid (the guid for the class) and use the entry there to find the path of the localserver its hosted in... or you could run up OleView.

gbjbaanb
A: 

If you need to open a TCP socket from a .NET application, why are you using an external library instead of System.Net?

Massimo