DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 20th, 2012, 01:19 AM
ksn ksn is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 ksn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 23 sec
Reputation Power: 0
Getaddrinfo not working for 64 bit platform

Hi All,
I have two platform one is big endian (32 bit) and other is little endian (64 bit). both uses same glibc version 2.5.9. running on montavista linux 2.6.21 kernel.

For big endian 32 bit getaddrinfo works fine and gives proper result (a set of ip addr for the domain supplied).

But for my little endian platform it never works (but nslookup works fine and it uses busybox) . I tried putting some prints in linux stack but the application never sends proper info to socket layer. The first call to socket layer (socket.c sock_create fucntion) will be with family 16 (AF_NETLINK) and which is common for both little and big endian machines. After that there is no call to socket with values (2,2,17) (AF_INET, SOCK_DGRAM, UDP) but I can see these calls being made for big endian platform.

I feel there is some problem with glibc for 64 bit with little endian platform, but I am not 100% sure. Please help me if you have any info/idea/suggestion on this

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Getaddrinfo not working for 64 bit platform

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap