Skip to Content.
Sympa Menu

freetds - RE: Is TDS in unicode?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: Is TDS in unicode?
  • Date: Tue, 13 Aug 2002 19:52:51 -0400 (EDT)


On Tue, 13 Aug 2002, Sharad Bansal wrote:

> STATUS: Received Packet #0 from Client 172
> Element [0] : 10
> Element [1] : 1
> Element [2] : 0

Ok, what you have here is the first three bytes of the netlib header.
0: 0x10 identifies the packet type (TDS 7/8 login packet)
1: 1 is the last packet indicator (0 = more packets, 1 = last packet)
2: 0 the low order byte of the size field.
3: should be the high order byte
4-7: unused

from byte 8 on would be the actual login payload see doc/tds7.txt in the
distribution for details.

Brian
>
> This is the packet in hex followed by ffffffcc
> Thanks,
>
> Sharad
>





Archive powered by MHonArc 2.6.24.

Top of Page