External Connections

Hi Forte users,

I am trying to use the External Connections class on a Win 95 and a Win

3.11 environment. I am running Forte 2.0.F.4 client and 2.0.H.11 server.

I am trying to connect from the client to a C program through a Socket

connection.

Ironically, on a Win 95 and 3.11 machine, the client connection seems to

close itself if there is nothing to read on the pipe. Has any one

noticed this?

Do we have to keep doing conn.open every time we try to use the

connection? What else can we do?

Thanks in Advance.

Venkat J Kodumudi

Price Waterhouse LLP

Internet: Venkat_Kodumudi@notes.pw.com

Internet2: vkodumud@dsams.com

[718 byte] By [] at [2007-11-25 5:02:04]
# 1

Folks,

I solved the problem. It looks like a socket implementation difference

between 16 bit and 32 bit versions of Microsoft OS.

I was expecting a 1Meg Binary Data and so I was trying to read 1 Meg at

one shot. It seems like, since the buffer some where along the line (

may be at the server) can handle only a max of 14K of data, the reader

on the PC closed the connection when it didn't recieve all the 1Meg of

data at 1 shot.

When I changed the length I was expecting to 14K or less, it started

working.

Enjoy!!!

Venkat J Kodumudi

Price Waterhouse LLP

Internet: Venkat_Kodumudi@notes.pw.com

Internet2: vkodumud@dsams.com

> --Original Message--

> From: Venkat Kodumudi

> Sent: Tuesday, February 03, 1998 8:02 AM

> To:'kamranamin@yahoo.com'

> Subject:External Connections

>

> Hi Forte users,

>

> I am trying to use the External Connections class on a Win 95 and a

> Win 3.11 environment. I am running Forte 2.0.F.4 client and 2.0.H.11

> server. I am trying to connect from the client to a C program through

> a Socket connection.

>

> Ironically, on a Win 95 and 3.11 machine, the client connection seems

> to close itself if there is nothing to read on the pipe. Has any one

> noticed this?

>

> Do we have to keep doing conn.open every time we try to use the

> connection? What else can we do?

>

> Thanks in Advance.

>

> Venkat J Kodumudi

> Price Waterhouse LLP

> Internet: Venkat_Kodumudi@notes.pw.com

> Internet2: vkodumud@dsams.com

>

at 2007-6-29 9:22:31 > top of Java-index,Application & Integration Servers,Integration Servers...