RE: Socket.send - missed data problem!
From: Carlos Fernandez (CarlosFernandez_at_discussions.microsoft.com)
Date: 10/27/04
- Next message: Serena: "Connection Oracle"
- Previous message: Alex Yakhnin [MVP]: "RE: Socket.send - missed data problem!"
- In reply to: Tomer: "Socket.send - missed data problem!"
- Next in thread: Tomer: "Re: Socket.send - missed data problem!"
- Reply: Tomer: "Re: Socket.send - missed data problem!"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 27 Oct 2004 06:29:01 -0700
Tomer,
Most likely either you are not sending all the data you think you are or the
reception part is broken.
TCP guarantees that there is no data loss unless the connection is broken
for some reason, i.e. it's just impossible that some records in the middle of
a transmission get lost. In something goes wrong, you lose from one point to
the end.
"Tomer" wrote:
> Hi,
>
> I'm sending data with the socket.send method using a gprs modem.
> I've a loop of about 100 records to send and it is transmitted to the server
> with no problem.
> I've also a loop of about 1000 records and when I send the data some lines
> in the output get missed in the server.
>
> I've putted delays between the sends (100ms), it helped but not entirely.
> Plus it slows the send procedure.
>
> I've also tried sending a few records at a time (using a delimiter) but more
> lines were missed this way.
> each line contains 14 characters plus CRLF.
>
> Any suggetions?
>
> Tomer.
>
>
>
- Next message: Serena: "Connection Oracle"
- Previous message: Alex Yakhnin [MVP]: "RE: Socket.send - missed data problem!"
- In reply to: Tomer: "Socket.send - missed data problem!"
- Next in thread: Tomer: "Re: Socket.send - missed data problem!"
- Reply: Tomer: "Re: Socket.send - missed data problem!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|