Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - socket client

Reply
 
Old 09-03-2009   #1 (permalink)
Alex Okajima Watanabe


 
 

socket client

Hellow. I'm developing a communication system between java and
vbscrip by sockets.
I've already created a server in my java aplication, but I don't
know how to create a client in vbscript. On the client, I just need to
recieve one information.
Anyone can help me?
Thanks in advance.

My System SpecsSystem Spec
Old 09-03-2009   #2 (permalink)
mayayana


 
 

Re: socket client

I don't know what you mean when you say
"by sockets". You mean Windows sockets? You
want to have a server-side Java component that
responds to a client script call? VBScript can't use
winsock directly. You need to write a COM
component with Dispatch interface(s), and preferably
limit the parameter datatypes to variant or object.

Quote:

> Hellow. I'm developing a communication system between java and
> vbscrip by sockets.
> I've already created a server in my java aplication, but I don't
> know how to create a client in vbscript. On the client, I just need to
> recieve one information.
> Anyone can help me?
> Thanks in advance.

My System SpecsSystem Spec
Old 09-03-2009   #3 (permalink)
Alex Okajima Watanabe


 
 

Re: socket client

On 3 set, 10:57, "mayayana" <mayaXXy...@xxxxxx> wrote:
Quote:

> * *I don't know what you mean when you say
> "by sockets". You mean Windows sockets? You
> want to have a server-side Java component that
> responds to a client script call? VBScript can't use
> winsock directly. You need to write a COM
> component with Dispatch interface(s), and preferably
> limit the parameter datatypes to variant or object.
>
>
>
Quote:

> > * *Hellow. I'm developing a communication system between java and
> > vbscrip by sockets.
> > * *I've already created a server in my java aplication, but I don't
> > know how to create a client in vbscript. On the client, I just need to
> > recieve one information.
> > * *Anyone can help me?
> > * *Thanks in advance.- Ocultar texto das mensagens anteriores -
>
> - Mostrar texto das mensagens anteriores -
Sorry. I mean by tcp.
My System SpecsSystem Spec
Old 09-03-2009   #4 (permalink)
mayayana


 
 

Re: socket client

> Sorry. I mean by tcp.

Isn't that still winsock, then? The terminology
is confusing. When you say you've "created a
server in your Java application", that sounds like
a COM automation server, operating locally,
which VBScript can use. (But is such a thing possible
in Java?)

But then you're talking about sockets and TCP. So
I thought that you meant you have a Java program
on a web server. For VBS to talk to a web server it
needs to have a component go-between to do the work.

Maybe you should explain more about what
exactly you need to do.


My System SpecsSystem Spec
Old 09-03-2009   #5 (permalink)
mr_unreliable


 
 

Re: socket client

mayayana wrote:
Quote:

> You need to write a COM component with Dispatch interface(s),
> and preferably limit the parameter datatypes to variant or object.
>
If the o.p. happens to have a licensed copy of vb8,
then he could use the "Microsoft Winsock Control 6.0",
or the winsock.ocx for short.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Socket error 10052 on UDP socket .NET General
raw socket Vista General
Memory configurations in socket?2x256 socket 1/3 and 2x512 socket Vista hardware & devices
SOCKET.OCX Vista performance & maintenance
Socket X,OCX Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46