On 07/31/12 20:06, JLM wrote: > On 31/07/2012 09:48, Alex Peshkoff wrote: > >> The most interesting question now is - what fixes do we need to make >> fbclient work? > > I've tried to use the libfbclient with Necessitas. I used the IBase > driver compiled for Android Arm. > > The libfbclient is load, seems to apparently runs.
That's already not bad! > The libfbclient manage to contact the firebird server but there is > problems during communication. I used Wireshark to look at the traffic > and I've seen packet's error during the communication, packet from > libfbclient. Sooner of all wireshark does not recognize an attempt to talk using new protocol, FB13. That extensions are silently ignored by old servers, but may drive packet dumper crazy. In hex form packets look OK for me. Moreover, they are accepted by server. BTW, what version is installed? 2.5 or older? > > In view of the fact that my local server and my virtual device have > the same IP adress, is not easy to read... > But you can look at the ports : gds-db is my server on local machine > and the 50946 and 50947 ports are the virtual machine. No problems. > The virtual device try twice time to connect despite that the server > responds OK twice time. Server response is OK for 'connect' operation, next client sends 'attach' with dbname, login and password - and this operation fails (must be non-0 response object in frame 10. Second attempt is to use slightly other protocol, but password validation anyway fails. > And after that, it's impossible to execute a query, the result is "the > database is not open" > > I add attachments of txt and wireshark version of the capture file. During cross-build you've got native fbclient and some utilities in gen/Native. Can you try to connet to server with that isql and see what happens? Txt dump from wireshark, sent to me, will be very useful. A. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel