Re: FreeTDS & Sybase SQL Anywhere 11
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Michal Seliga wrote: > > > Thanks. However packet is sent as expected but problem is the same :( > > At this point I would try with a network capture and a client > > (probably official one) that do not exibit same problem. > > if i use official odbc library then it doesn't happen. (but official > library has its own problems with unicode, so i would prefer to use > freetds when possible) > > and about network capturing, if you can send me what exactly you want me > to try i can do it Michal, Well, you've got our attention, old man. Be careful what you wish for! To fix the error you reported, we need to see a successful disconnect using (presumably) the vendor's library. Then we can seek to emulate it. It would also be helpful to see the freetds version, but that's less important at this stage. Use a command like this: $ tcpdump -i interface -w filename -s0 host servername You pick your values for interface, filename, and servername. You can use something like this to verify the file at least seems to contain the right data: $ tcpdump -r filename -s0 -xX The resulting file will contain all the packets including your login information. Do not post it to the list; send it to our private addresses. If it's not exactly what we need, don't worry. We'll tell you. --jkl