What kind of debug output statement is valid in getaddrinfo.c?

by 鎹疯秴 鐜 » Fri, 20 May 2011 17:17:53 GMT


Sponsored Links
 Hi, developers:

I am currently developing an IPv6 DNS resolver on Android-x86 platform
in socket programming in C so I would like to modify some code in /
home/ubuntu/android-x86/bionic/libc/netbsd/net/getaddrinfo.c". I want
to do debugging in this file so I am trying to adding debug output
statements in this file.

I 've tried "LOGE", "printf" and "fprintf" but none of them works.
Is there anyone knows what kind of debug output statement is valid in
this file? Thank you very much!!

Best wishes,

Jiechao Wang
BUPT

-- 



Other Threads

1. Muticast Socket

Hi All,

I am trying to test the multicast socket in Android. Has anyone been able to
open a multicast socket in andoid application.

During this investigation i found out couple of things


   1. There is a MulticastSocket.Java which extends DatagramSocket.Java. Can
   this be used?
   2. There is a PlainDatagramSocketImp.Java which extends
   DatagramSocketImpl.java. This is in turn used when we CreateSocket for
   DatagramSocket. But we cannot import    PlainDatagramSocketImpl in android
   app. Also there is a function to set the DatagramSocketImpl in
   DatagramSocket.java which has never been used.

Can someone throw some light on this?

Thanks in advance
sumanth

--~--~---------~--~----~------------~-------~--~----~

2. Problem in Viewing table - sdk1.0

Hi..
I am using sdk1.0

i created database as firstDB & created table in it as firsttable

my application is working fine, but am not been able to view tables
name in database.

i open it with sqlite, it shows database name in it with .databases
command..

but when i used .table it does not show tables contained in that
database..


Please help me out. i watch previous forum , i think there is problem
with permission settings..

Thanks,
--~--~---------~--~----~------------~-------~--~----~

3. tslib is having some issues

4. Email attachment not being sent

5. ListView/ListActivity limit items until last item reached, like in Android Market

6. Does anybody know how to hang up a call?

7. ListView/ListActivity limit items until last item reached, like in Android Market