Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

w3sockets Download

Status
Not open for further replies.

darthsylly

Programmer
Aug 7, 2017
2
GB
Hi all,

I'd like to download w3sockets from Dimac however their website and all the links strewn across the net are no longer working.

Could anyone point me to where I can download w3sockets in 2017?

Thanks,

ds
 
Sadly Dimac appear to have gone offline back towards the end of 2016. And they never had a fixed download link, as I recall (so no getting it from the Wayback Machine)

Not sure where else it might be available, I'm afraid.
 
I was rather hoping someone on this forum might have a copy and could share [blush]
 
You were lucky I was searching for how to do sockets from vbscript and remembered I used something like that .dll
I have a copy of exact this socket dll, but I do not have the documentation that was available on their website.
It's the original zip like I downloaded it from their site. It contains the dll, a program to register the dll (but you could just as well use the windows tool regsvr32.exe to do that), and a very small readme.txt
 
 http://files.engineering.com/getfile.aspx?folder=a517d1ef-0898-4577-8bff-54136ecd895a&file=w3Sockets.zip
And here is the documentation I pulled from our internal tool.
Seems I took the time to document this 3rd party tool :)

Properties

GUID: {B8EDC06C-2FF9-11D1-9755-0060979FF483}
Flags: [hidden, dual, ole, dispatch]


Syntax

Properties ReturnType Name Description

Interface Property (read-only) string Buffer Used to get the data received during some Wait functions
string Buffer

Interface Property (read-only) long BytesInBuffer
long BytesInBuffer

Interface Property bool Connected
bool Connected

Interface Property bool DoTelnetEmulation Boolean value that can be used to instruct w3 Sockets to respond to telnet queries
bool DoTelnetEmulation

Interface Property string Host Text string representing the host and port you want to connect to. This is in the form of "[hostname/ip]:[port]"
string Host

Interface Property long Port
long Port

Interface Property string TelnetEmulation Type of terminal to emulate
string TelnetEmulation

Interface Property long TimeOut Default timeout for all operations in miliseconds
long TimeOut

Methods ReturnType Name Description

Interface Method void Close Closes an active connection
void Close();

Interface Method string GetLine Waits and returns one row of data
string GetLine();

Interface Method string GetText Returns [Len] characters from the socket
string GetText(
[in] long len
);

Interface Method void Open Initiates a connection with "host"
void Open();

Interface Method string peek
string peek(
[in] long len
);

Interface Method void SendLine Sends a line of data and appends a crlf at the end
void SendLine(
[in] string Line
);

Interface Method void SendText Sends a text string without linebreaks
void SendText(
[in] string text
);

Interface Method void Wait Waits until data is returned
void Wait();

Interface Method bool WaitFor Waits for a specifit string and then returns
bool WaitFor(
[in] string Substring
);

Interface Method void WaitForDisconnect Waits until all data is received and the connection is closed. The data can then be read from the "buffer" property
void WaitForDisconnect();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top