This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Easy way to decode res_query/res_search returned packet.


Hi!

As we know, these 2 return a char array of the whole packet.

Is there any easy way to decode the packet to retrieve resource records?

I mean, going through the packet by hand is not easy... there must be another way.

Thanks for any pointers.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]