communication between vb and java
- From: "Adrian Chen" <aoopopopo@xxxxxxx>
- Date: Sat, 16 Aug 2008 18:57:30 +0800
Hi everybody,I am strugglling with a problem for a whole day,but still
cannot resolve it.Please give me some suggestion.
I want a client (written by VB6.0) to communication with a server(written
by JAVA).In the debug mode, in the server side ,the server call the java
function "accept()" to block and wait any request from client.Then a client
using the control in VB6.0: Winsock calls "Winsock1.connect" function to
connect to the server side .And indeed the server receive the request and
programming point(under debug mode) move to next line.And the client go on
to next statement: Winsock1.Senddata str to send the string to server ,then
the problem come up:VB prompt up a box saying:"Run-time error: '40006' Wrong
protocol or connection state for the requested transaction or request".And I
check the value of the property "Winsock1.state" is 6(SckConnecting).
Thanks very much!!!
.
- Follow-Ups:
- Re: communication between vb and java
- From: Schmidt
- Re: communication between vb and java
- Prev by Date: Re: SendKeys.Send does not seem to work in a user control
- Next by Date: Re: communication between vb and java
- Previous by thread: Rounding error using vbContainerSize
- Next by thread: Re: communication between vb and java
- Index(es):
Relevant Pages
|