This is really crazy. I wasnt able to connect to yahoo thru gaim so i googled up and found one solution, and that is to
1. First ping the yahoo chat servers
2. Wait for reply
3. Fire up gaim and login,
and it works, gaim wont connect unless i ping the yahoo servers or connect thru kopete, if i do either of them, gaim works fine.
Why? This is really strange