Re: About TDI
From: Thomas F. Divine [DDK MVP] (tdivine_at_NOpcausaSPAM.com)
Date: 01/21/05
- Next message: Farmer: "Re: How do you have user define paper size in Unidrv?"
- Previous message: zengfeng: "About TDI"
- In reply to: zengfeng: "About TDI"
- Next in thread: zengfeng: "Re: About TDI"
- Reply: zengfeng: "Re: About TDI"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 22:35:27 -0500
Concatonate (recombine) the three messages into one 4096-byte buffer - if
that is what you desire.
TCP is a continuous byte stream of information. When a TCP buffer is sent it
can be fragmented in arbitrary ways.
Generally you must parse or interpret the TCP stream to be able to
understand the information being carried on the stream. How you parse the
stream depends on what sort of information is being carried. Some streams
carry strings that you must parse character-by-character to determine the
end of the string. Some streams carry structured information that consists
of header with byte counts, etc.
Thomas F. Divine
"zengfeng" <zengfeng@sobey.com> wrote in message
news:%23j%23oUc2$EHA.2112@TK2MSFTNGP14.phx.gbl...
> From TDI client I send 4096 bytes to TDI server,
> but at TDI server I received three packets.
> first was 1460 bytes,and second was 1460 bytes,finally the last was 1176
> bytes.
> Question:
> How can I to get the Original 4096 bytes same as the Client?
>
>
>
- Next message: Farmer: "Re: How do you have user define paper size in Unidrv?"
- Previous message: zengfeng: "About TDI"
- In reply to: zengfeng: "About TDI"
- Next in thread: zengfeng: "Re: About TDI"
- Reply: zengfeng: "Re: About TDI"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|