Doug,
Thanks for the feedback. My protocol was somewhat specific to the interface 
being designed. I wanted to embed it into a VBScript script in order to allow 
it to be more easily integrated into the Window-Eyes environment. I have 
scripting tools that support both COM and native sockets interfaces but I want 
my interface to be as generic as possible so as to facilitate distribution. 
Thus, I was looking for something along the lines of VBScript or JScript. There 
are a couple of freely available sockets COM objects but I am reviewing those 
carefully for licensing and distribution specifics.


-----Original Message-----
From: Doug Lee [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 9:56 AM
To: [email protected]
Subject: Re: Using regular TCP sockets in a vbscript program

Would a Telnet interface be enough?  I don't have details handy, but I think 
there's a Telnet COM object that comes in Windows.  You of course also have 
stock objects hanging around for HTML and XML that can pull from the Internet.  
If you're spinning your own protocol or using a non-ANSI protocol of some sort 
though, this probably won't help much.

On Mon, Sep 29, 2008 at 09:48:45AM -0500, Macarty, Jay  {PBSG} wrote:
Aaron,
Thanks for the feedback! I'll take a look at the link and also explore some of 
the other options.


-----Original Message-----
From: Aaron Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 8:50 AM
To: [email protected]
Subject: Re: Using regular TCP sockets in a vbscript program

Aside from basic TCP/IP configuration with WMI 
(http://www.microsoft.com/technet/scriptcenter/topics/networking/01_atnc_intro.mspx),
I don't believe there's anything built-in for use with VBScript/JScript.
You could use VB itself, or (as you mentioned) many other languages to 
accomplish this.

Aaron

Macarty, Jay {PBSG} wrote:
> I want to be able to communicate with a TCP sockets based application
> from a vbscript program. I need to be able to both send and receive
> data over a socket connection. This is a fairly simple task in most
> languages like java, C# or even Autoit. However, it doesn't seem as
> straitforward in VBScript or JScript without adding some third-party
> COM object. Am I just missing something here?
>
>
>

--
To insure that you receive proper support, please include all past 
correspondence (where applicable), and any relevant information pertinent to 
your situation when submitting a problem report to the GW Micro Technical 
Support Team.

Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development

--
Doug Lee, Senior Accessibility Programmer SSB BART Group - 
Accessibility-on-Demand mailto:[EMAIL PROTECTED]  http://www.ssbbartgroup.com 
"While they were saying among themselves it cannot be done, it was done." 
--Helen Keller

Reply via email to