[iPhone 2.1 beta2] gethostbyname always get Unknown host error

gethostbyname always get "Unknown host" error.
any thoughts?
following is the code how to get local iphone ip:
char buffer[256];
if(gethostname(buffer, sizeof(buffer)) == 0)
struct hostent* host = gethostbyname(buffer);
if (host == NULL) {
herror("gethostbyname");
return NULL;
in_addr in;
memcpy(&in.s_addr, host->h_addr, host->h_length);
char* addr = inet_ntoa(in);
if(addr)
strcpy(local_ip, addr);
}

I'm having a similar problem, but the emergency call/airplane mode trick didn't fix mine. I just get call failed with no option to turn off airplane mode. Anyone else have another solution?
I'm on an original iPhone with a Mac PowerBook G4
After trying the update to 2.1 I just get the "unknown error occurred (-3256)" in iTunes. And the connect to iTunes screen on my iPhone. I've tried resetting with no success. I cannot restore because it can't access the iPhone in iTunes (it shows up as a devise by that's it). I can't get to any settings.
Any help will be greatly appreciated...I'm desperate.

Similar Messages

  • HT1338 What's going on with iCloud (MobileMe)?  I'm able to sign in here, but I can't access mail on my Macbook Pro, iPhone, or work computer.  I always get an authorization error (user-id or passwork wrong).  This has been going on for almost a week now.

    What's going on with iCloud (MobileMe)?  I'm able to sign in here, but I can't access mail on my Macbook Pro, iPhone, or work computer.  I always get an authorization error (user-id or passwork wrong).  This has been going on for almost a week now.

    The single download means that you won't be able to redownload it from the store without paying, either on a computer's iTunes or an iOS device - it doesn't stop you from copying the audiobook to your other computers or syncing it to your iOS devices, you just can't redownload it. (I believe that they are all supplied to Apple by audible.com, so I assume that it's them requiring the one-time download.)
    You can download audiobooks on your computer's iTunes and sync them to iOS devices, you do not have to buy them directly on the device (if you do then you can copy them back to your computer's iTunes library by connecting the device and using the File > Devices > Transfer Purchases menu option on your computer's iTunes).
    What you are doing to sync them should work i.e.
    - connecting the iPad to your Mac
    - selecting the iPad on your Mac's iTunes
    - selecting its Books tab and selecting the audiobooks that you want to sync to the iPad and syncing/applying that selection.
    You should then get an audiobooks option in the Music app on your iPad. If they aren't appearing there  then do they show in Settings > General > Usage > Music on the device - if you have audiobooks on the iPad then they should be listed there under an 'audiobooks' heading.
    By 'restart the iPad' do you mean a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    You could also try closing its Music app via the iPad's taskbar : Force an app to close in iOS.
    And do a soft-reset and retry syncing.
    I assume that music and other items sync ok ?

  • On my iPhone no matter what i always get a message "Your Apple ID has been disabled" even though i can log on on my laptop...

    On my iPhone no matter what i always get a message "Your Apple ID has been disabled" even though i can log on on my laptop...

    That won't help. You need to contact iTunes support so they can re-enable your account. They only work via email or live chat: http://www.apple.com/emea/support/itunes/contact.html

  • TS3694 Hi, I have a trouble to restore my iphone 3 series but I  always get a error that is 1015. plz help to restore it. thanks

    Hi, I have a trouble to restore my iphone 3 series but I  always get a error that is 1015. plz help to restore it. thanks

    Error 1015 means either you're trying to restore to an earlier iOS version, which is not supported, or you previously hacked the phone - jailbroken or iOS downgrade.  In the later case, you can no longer restore or update.

  • When I make sincronization my photos from PC to IPhone using ITunes why I always get a duble copy of folders wit photos ??

    When I make sincronization my photos from PC to IPhone using ITunes why I always get a duble copy of folders wit photos ??

    That is correct.
    I just explained thatto you.
    Thre are NOT duplicates.
    ALL photos synced to iphone will be in the "Photo mediateka".  You can ALSO access those exact same photos from you named folder. If you had mulitiple photos, then all of the photos would be in the "Photo mediateka" and you could also access the exact same pics from each of the folders.
    You do not have duplicates.  it is working exactly as it should.

  • Cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    Satellite L675-S7113 Specifications (PSK3AU-07C02S)
    Satellite L675-S7113 Support Page
    rwls wrote:...since I got it 3 years ago I've been unable to burn an audio CD from ITunes or Windows media although it worked once after the computer had been shut off for awhile..and didn't find the problem until after my warranty had expired...
    From your statements above, it sounds like you never tried to burn a CD for at least the first year that you owned the laptop, as it had a one year warranty on it. While you might have used it frequently to install software,  play DVDs, Blu-Ray disks, etc, that's unclear from your statements. Nonetheless, it might just be dirty-dusty. So, before deleting-uninstalling any software, and given they're cheap, try a CD-DVD Cleaner Disk first and see if that resolves your problems.
    Let us know what happens. Good luck.
    Mike

  • TS1591 My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.

    My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.Help please!

    Hello chindeepchow,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694#3000
    Resolve communication issues
    Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200. These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
    Check the hosts file or TCP/IP filtering, which might cause communication issues between iTunes, ports, and servers.
    Have a nice day,
    Mario

  • Why do I get "unknown validation error" when I sign into MobileME and Aperture on my laptop?

    I am unable to sign into my Mobile Me in System Preference and therefore Aperture will not load photos from my stream.  When I attempt to do so I get "Unknown Validation Error    Your MobileMe member name or password may be invalid. Please enter a different name or password"
    Yet I am able to sign into iCloud and all my devices with the EXACT same Apple ID and password. What's up?

    I hate to break it to you, but MobileMe no longer exists.

  • I have an older Macbook with OS/X. Tried to download iTunes 10 a few times now, but when installing I always get the same error message: Run Preinstall Script for Apple Mobile Device Support. What can I do to finalise the installation?

    I have an older Macbook with OS/X. Tried to download iTunes 10 a few times now, but when installing I always get the same error message: Run Preinstall Script for Apple Mobile Device Support. What can I do to finalise the installation?

    Thanks. Short of the sort of "generic" suggestions of restaring your system, if you haven't, and repairing disk permissions and verifying the disk, I don't have any advice right now. I'll do some research and see if I can come across anything. Meanwhile, someone else may have an idea.
    Regards.

  • Always getting a server error when trying to download the products

    I' always getting a server error when trying to download the products since yesterday, what can I do ?

    Try using a different browser

  • How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.

    I wanted editing a photo from lightroom to elements but lightroom did not open elements. Your site said first to reinstall Elements before to try more comlicated things. It is the worst thing I ever done. Now i have lost Elements at all. It does not want to reinstall. Very funny. I tried all Adobe (!!!) suggestions: change OOBE for OOBE.bak; copy file from the dvd to computer before autorun executable,etc etc NOTHING WORKS !
    Adobe suggested to download ASA program but only to tell us that it does more exist !!! After that they suggested to try to find MANUALLY the dailies failure reports !!! It is impossible to understand those reports
    Thank for your help!!

    HI,
    Win7-64, Lightroom 4.4 Photoshop Elements 11 GPU Nvidia Quadro K600, 4g RAM, Dell U2713H , all servicepack updated.
    After several hours searching on the web Finally found that in c\programfiles(x86)\commonfiles\adobe\OOBE
    Rename in OLDOOBE
    Stop antivirus
    Restart windows
    Copy directory of the DVD Adobe PSE 11 to c\ ord\:nameit ADOBE\
    Open file
    Click right to setup.exe
    Buzinga.
    It is the worst software I ever had to deal whit.
    FargateOne
    De : Mylenium 
    Envoyé : 7 mai 2014 10:26
    À : Pascal Renauld
    Objet :  How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.
    How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Photoshop General Discussion - View the full discussion <https://forums.adobe.com/message/6361905#6361905>

  • Getting Unknown Source Error While Deploying the Planning Application

    Hi,
    Getting following error while trying to Deploy Planning Application from BPMA
    Started Time : Tuesday, January 08, 2008 5:43:40 PM
    Submitted Time : Tuesday, January 08, 2008 5:43:40 PM
    Last Updated Time : Tuesday, January 08, 2008 5:44:32 PM
    User Name : hpadmin
    Process Name :
    Thread : 0
    Server : DimServer
    Detail : App Creation failed with Exceptionjava.lang.RuntimeException: Exception occurred while creating the application. Check log for details     at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)

    Hi,
    I am getting the same error:-
    Started Time : Tuesday, February 26, 2008 4:14:31 PM
    Submitted Time : Tuesday, February 26, 2008 4:14:31 PM
    Last Updated Time : Tuesday, February 26, 2008 4:15:39 PM
    User Name : hpadmin
    Process Name :
    Thread : 0
    Server : DimServer
    Detail : App Creation failed with Exceptionjava.lang.RuntimeException: Exception occurred while creating the application. Check log for details     at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)
    1---Have created new user for new App as well datasource
    2-Bounced the EPMA as well planning server but no avail.
    how I can I get detail log ? or if is it possible to tell me which directory to look into
    thanks in advance
    Sanjay

  • Always get same compilation error.. Does'nt matter whatever i write in code

    Hi All,
    I am getting strange error while compiling my pl/sql code.. it always gives me error
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    ..I always get this error. In sample piece of code , i dont have any table also
    SQL> SELECT * FROM V$VERSION ;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    PL/SQL Release 9.2.0.5.0 - Production
    CORE 9.2.0.6.0 Production
    TNS for Solaris: Version 9.2.0.5.0 - Production
    NLSRTL Version 9.2.0.5.0 - Production
    SQL> Create or replace FUNCTION check_cid IS
    BEGIN
    dbms_output.put_line("CHAL");
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    2 3 4 5 6 7 8
    Warning: Function created with compilation errors.
    SQL> SQL> show err
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid() RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist

    The error message is correct.
    You are using double quotes instead of single quotes.
    Identifiers (table names, column names etc) with special characters should be enclosed by double quotes, so PL/SQL thinks you are using an identifier and can't find it.
    Please replace the double quotes by single quotes.
    Please also make sure you always try to iron out simple compilation errors yourself, so you become independent, and don't need to ask for the assistance of volunteers.
    Optionally, increase your intake of coffee, and/or buy (better) glasses ;)
    Sybrand Bakker
    Senior Oracle DBA

  • Still getting "Unknown Server Error" when trying to log into CC Desktop App

    Hi -- I signed up for the early access file/font sync and received my email saying "You're In..."
    When I used the link in that email to download the CC Desktop App and when I launch it, I'm still receiving the error "Unknown Server Error" Sign in is currently unavailable. We are unable to access your account. Please try again later.
    Anyone run into a similar situation or have thoughts on how to remedy this?
    Thanks in advance!
    Kristina

    Solution 2 from this help article http://helpx.adobe.com/creative-cloud/kb/unknown-server-error-launching-cc.html should resolve the problem.

  • No matter WHAT I try I always get a 404 error .

    I though I had fixed this but it happend again I cannot get
    this page done because everytime I upload it and try to view it I
    get a 404 error.. I have had it working a few times but it seems
    like every time I add a certain amount of text it doesnt work
    anymore or something.. I have deleted and re made the entire page
    without copying and pasting my text like 5 times and Im sick of
    working on this now and If i cant get it figured out Im done with
    working on this site..
    Here is my site www.furnaps.com
    The page I cannot get to work is
    www.furnaps.com/free_site_rev/reward.html

    > javascript include
    What? A missing linked javascript file won't produce a 404.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "iwasjoeking" <[email protected]> wrote in
    message
    news:fuiijr$12$[email protected]..
    > Looks like it is working now. Are you still having
    problems with your
    > page?
    >
    > The error that you saw could also be from a javascript
    include. I see
    > something from Google on your page. Could have been that
    the external js
    > page
    > was down at the moment you were looking at it.
    >
    > Also, if the problem is still present, check to see if
    the file is
    > actually on
    > the server. I have had experiences where my local file
    name had the
    > extension
    > "htm", but when I uploaded it, it changed to "html"--I
    think it is some DW
    > setting somewhere. To verify that the file is on the
    server, click the
    > "Expand
    > to show local and remote sites" button from the file
    panel. Then check
    > the
    > file name on your server.
    >
    > One side note... I would suggest changing the title of
    your page. Right
    > now
    > it says "Untitled Document".
    >

Maybe you are looking for

  • Visible & hidden work, then view in pdf crashes and corrupts

    ----- form1.#subform[0].RB1.RBunitype.rbcrew::click: - (JavaScript, client) ------------------------ sfcubno.presence = "hidden"; sftroopno.presence = "hidden"; sfcrewno.presence = "visible"; sfpostno.presence = "hidden"; SFcub.presence = "hidden"; S

  • Change Image Size in existing Video Project?

    First post, Premiere NOOB.  I have a Premiere Pro CS6 developed video that I had done for me for which I also got as part of the receivables all the component Premiere files so that, 1) I could make minor changes myself (I have CS6), and 2) if the de

  • NX7K VDC: port groups in F2 48-port 1G/10G Ethernet module?

    Have couple of questions about assigning ports on the F2 1G/10G Ethernet module to VDC. Thanks for any help. 1) Does the newer F2 1G/10G 48-port Ethernet module have port groups as the older 32-port 10G Ethernet module? If so, where can I find inform

  • IPhoto upgrade for mac os x 10.6.8

    I'm seeking help on how to find and install the right iPhoto upgrade for mac os x 10.6.8.  I cannot upgrade my OS, so I need a version that is not the latest, and somewhere beyond Iphoto 6 already installed on my mac book

  • Unable to start OEM agent on 10g server

    Hello all, I am getting this error when verifying the agent and trying to start it. Any ideas ? C:\Documents and Settings\sqlserverservice>emctl status agent Oracle Enterprise Manager 10g Release 10.2.0.2.0. Copyright (c) 1996, 2006 Oracle Corporatio