As per the API for libpurple there exists a field
"remote_ip<http://developer.pidgin.im/doxygen/dev/html/struct__PurpleXfer.html#9ff2616ee6dc832c10037efad11d762a>"
in struct 
"PurpleXfer<http://developer.pidgin.im/doxygen/dev/html/struct__PurpleXfer.html>
"
http://developer.pidgin.im/doxygen/dev/html/struct__PurpleXfer.html#9ff2616ee6dc832c10037efad11d762a

But when I try to print it in
file-recv-start<http://developer.pidgin.im/doxygen/dev/html/xfer-signals.html#file-recv-start>callback,
I keep on getting null.
..
..
static void
ft_recv_start_cb(PurpleXfer *xfer, gpointer data) {
      printf("\n\n\nfilename :: %s\n\n", xfer-> filename );          //
printed correctly
      printf("\n\n\nremote_ip :: %s\n\n", xfer-> remote_ip );     // prints
null
}
..
..Am I doing something wrong (completely different code required, missing
something?) or is this just not possible ?
Is there any other way of identifying IP of persion at other end using
libpurple
-- 
Rohit R.Hiwale
3rd yr UG student
Department of Computer Science & Engineering
Indian Institute of Technology , Kharagpur
_______________________________________________
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support

Reply via email to