Hello,
I'm using CVI TCP/IP library both on server and client side.
Communication scheme looks like this:
Client side:
First client sends header wchich contains information about data length.
Next in loop client calls ClientTCPWrite to write rest of data until all
data
are sent or comunication error occures.
Server side:
Server when receives TCP_DATAREADY event reads header, next reads data
(length known from header). Next server sends ack to client.
This scheme works without any errors on Win NT 4.0 SP 6.0.
If the same programs are running on Win2K client gots timeout error in
ClientTCPWrite function
(after several succesfull sent packets). After error clients close
connection, than reconnects to server
and all story repeats.
What is
going on? Does anybody know?
Attachment contains simple example.
Regards
Jarek
[Attachment SrvClnt.zip, see below]
[See first answer for additional information]