Datasocket error when network cable unplugged

Hi,
I'm having problems with my datasockets.  I have applications running on multiple computers, which publish data to a datasocket on the localhost.  Whenever we unplug a network cable, or the network goes down, the datasocket write function reports the following error code:  -2147014843 in Datasocket Write.
I can't find any information about this datasocket error code.  Can anyone give me advice on how to find more information about this error code?
The result is that whenever there is a network issue, we need to go and resolve it, then we need to log onto each computer (25+) to get the datasockets working again.
Also interesting to note is this problem has only presented itself since upgrading the computers from NT to Win2k & WinXP.
Thanks for any help that can be given.
Slade Squire

Hi again,
Just in case anybody else looks here, and have a similar problem...
The error code we saw was related to the networking functions of Windows.  In particular, the reason we did not see this problem in Windows NT, but it started appearing in 2000/XP, is the media sense functionality of Windows 2000/XP.  In 2000/XP, if there is no connection detected, the OS dumps the IP stack, and with it, the IP address.  As a result, when we try to write to a datasocket on the computers IP address, Windows returns an error, since there is no IP address anymore.
To resolve this issue, we turned off Media Sense on the affected computers.  We followed the instructions on this page:
http://www.windowsnetworking.com/articles_tutorial​s/Disable-Media-Sense-TCPIP-Windows-XP.html
Now, when the network drops out, we keep the same IP address, and so the datasocket can continue to write to the local computer, without any problems.
Regards,
Slade Squire

Similar Messages

  • Getting a strange error message - network cable unplugged (on a wireless router?)

    I have a Linksysy wireless WRT54G ROUTER that is connected to a Dell PC desktop and a Toshiba laptop. I got everything hooked up just fine and everything worked great for 2 months and then 2 days ago I started getting an error messgae saying that a "network cable was unplugged and the wireless connection was lost." I can no longer get Internet connections or connect to Outlook. Anyone know why this would happen and MORE IMPORTANTLY, how to fix this?? The connection to the Dell still works interestingly and the "link" indicator on the cable modem is blinking on and off. Please help!

    well the first thing that you should do, if you have not done this already is check the network cable on the computer with the issue and make sure that it is snapped in securely. If it is try to connect again. If at this time it still states that a network cable is unplugged, try another cable and see what that does for you. please get back to us and let us know if it still states that the network cable is unpluged. 
    Ttech

  • Wireless and hard wired router giving me an error message, network cable unplugged

    I have  two Linksys routers, WRT54G and the BEFSR41.  Have run the install disk on both, but once I link my CAT 5 Etehrnet cables to the router, I get the unplugged netwrok cable error.  I have internet access through my cable modem directly to the PC, but once I run the connection through the router I get the error.  Linksys help line was lost, as was my ISP help line.  Tried assigning IP, physically unhooked and rehooked all the cables, etc., etc.,  I thought maybe I had a bad router with the hard wired, but wireless is same error.  Any suggestions?? 

    Try this setting:
    1)  Lower down the Ethernet card speed to 10Half Mbps .....
    2)  Use any other cable ...
    3)  if still you are getting same error ..... reset the router for few seconds .....
          See if it works ....

  • Lost Time Machine and Network when Network Cable Unplugged Briefly

    Hi,
    I rearranged my desk and unplugged time machine (airport) from my network. When I plugged it back in it had gone to default settings with no sign of my previous network. I had to set up a whole new network and set up time machine as if it was new. When I finished and opened time machine I can see the previous files I had saved on it (by creating folders on it- something I won't mess with again), but have no idea where all the backups are. It still had all my default info on it (It new it's name but no sign of my previous network). Fortunately I just bought a new macbook pro so I'd already duplicated my data and I don't need the backups but is there a way to redirect time machine so it sees them? It also used to say that it was full and now the light is green and no warning about being out of space and overwriting my old files. I'm afraid to mess with it.
    What happened? Anyone else experience this?

    I'm very confused.
    Some of this may be terminology problems:
    *+Time Machine*+ is Apple's software that performs backups.
    An +*Airport Extreme+* is a wireless router that you can connect a USB drive to.
    A *+Time Capsule+* is Apple hardware combining a wireless router and HD.
    In one place you say you'd set up Time Machine, but in another you mention creating folders on "it" (I'm not sure what "it" is).
    Could you clarify your setup please?

  • Facebook: EA4500 - Network Cable Unplugged

    I have a EA4500 and I'm having a really weird problem. When ever I connect a my router to my PC via Ethernet I get an error of "Network Cable Unplugged". The lights on the back don't even come on but for a slip second when I connect it. But I can also connect my network enabled printer into the same Ethernet ports and it works without a hitch. I have tried switching cables. All I have is Cat6 cables available. But the cable that is connect to my printer its a Cat5e... Is it possible that the router doesn't use Cat6? I mean that would be really odd.. Any help?

    There are just few differences in using Cat5e and Cat6 cable. Both are gigabit cables which you can use for you to have gigabit connection on your network. The EA4500 is a gigabit router so the CAT6 cable should work. The network card of your computer, is it a gigabit card? Have you tried using the CAt5e cable to connect from your computer to the router? How about using the Cat6 cable from your printer to the router?

  • Toshiba laptop (C55-B5302) has "network cable unplugged" error message repeatedly. Why?

    I recent purchased Toshiba Laptop running Windows 8.1 at local Best buy.  The models number is C55-B5302.
    When connected via ethernet cable, I keep seeing an error message in network adapter settings saying "network cable unplugged".
    However, this "unplugged" message switches back and forth repeadedly from "connected" when I am not doing anything to the cable.
    My internet is very sporadic because of this.  I replaced the cable but still same error.
    Any idea on how I can resolve the issue?
    Please help.  Thanks.
    Solved!
    Go to Solution.

    Try downloading and installing the latest LAN driver:
    RealTek LAN Driver File: tc40213700b.exe DOWNLOAD Version: 8.024.1218.2013 Posted Date: 2014-03-13
    If that doesn't fix it, it could be faulty. You might want to exchange it.
    - Peter

  • Equium M50 will not recognise the LAN port - error: Network Cable unplugged

    I own a Toshiba Equium M50 and have problems with the Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller.
    I used to connect via an 'ADDON' Modem/ADSL Switch and had no problems. I then replaced the ADDON with a 'NETGEAR' DG834G ADSL Modem/Router to gain the wireless port, and since then my machine will not recognise the LAN port. <error: Network Cable unplugged>.
    I know that the cables are OK as I used them with other laptops and had no trouble. I can also plug in a PCI card to connect without any problems. It looks to me as if the Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller has a problem with the netgear Modem/Router.
    Anyone out there with a similar experience and some advice/suggestions?
    PLEASE

    Hi
    For me it doesnt show like a LAN card problem but your router is a problem.
    Check the device manager if the LAN card was properly recognized. If there are no yellow exclamation marks so everything is ok!
    You can try to delete the LAN card from the device manager and after new reboot install the LAN driver again.
    The issue has stared after installing or connecting the new Netgear modem router.
    Therefore I would recommend to checking firstly the settings or to update the firmware on this router.
    I have found additionally these useful websites
    http://compnetworking.about.com/od/windowsnetworking/f/cableunplugged.htm
    http://www.experts-exchange.com/Networking/Broadband/DSL_Cable/Q_20381405.html

  • Connecting Windows XP to Airport Error: "Network Cable Unplugged"

    Situation: Having bought a new computer I gave my old Airport Extreme (a model I bought about 4-5 years ago; one of the white pointy dome ones) to a friend, and attempted to set up their network. My goal was to connect the apple computers (one 2.16GHz iMac and a titanium macbook) to a wireless connection, and then connect their old wireless-less PC with WIndows XP to the airport with an ethernet cable.
    Problem: The wireless network works fine for the Macs, but when I connect the Airport to the PC with the ethernet cable it says "Network Cable Unplugged", and doesn't connect to the internet. I have swapped the cables, so I know that they're fine, and before I attempted all this the computer was corrected straight to the modem through the same port and worked fine, so it's not the port, either.
    Also, I don't think it's the ethernet port on the airport, as I was using it last week with an iMac and it was working fine. But on this I'm not entirely sure. Right now I have the cable from the modem going to the Airport port with the broken-dot circle, and the cable to the pc coming out of the (only other) ethernet port (with the sign <->). If I swap the ports used (with the modem going into the <-> port) the PC works, but the wireless drops out. So that's no good.
    The PC is using Windows XP, which is quite foreign to me, so I don't know the tricks. I haven't found any other threads on here with a similar problem, so if anyone could give me some advice as to how to fix this it would be greatly appreciated!

    By a "128 bit password," I assume that you mean that you have the AirPort Express (AX) set with WEP encryption...correct? ...and that the Mac is connecting to the Internet without any problems...correct?
    If you turn off encryption, can the PC access the Internet thru the AX?

  • WRTP54G Network Cable Unplugged Error

    I have a WRTP54G (router with 2 Vonage phone ports).  The phone works just fine.  However, every few minutes the PC displays a "network cable is unplugged" error message and I am unable to access the Internet.  After a few seconds, the error goes away, and everything works fine for a few minutes.  I have changed the network cable, used another computer, and I get the same results.  Does anyone have any idea how I can fix this?

    I appreciate your response, but how will that help?  I've rebooted all the equipment involved (modem, router, computer) more than once and it hasn't improved things.  The computer continues to cycle between showing the network cable unplugged message and everything working fine.

  • Network Cable Unplugged when chaning power outlet

    Im on a T60 running XP version 2.10.  When I connect to AC power when switching from one power outlet to another power outlet I get "Network Cable Unplugged." It disconnects and connects back to the network.  This wouldnt be a big deal but when it happens my VPN connection gets dropped.  I have to manually reconnect.  Not a big deal but it shouldnt happen.
    Any solutions or suggestions would be appreciated.
    Thanks
    Tim

    Ever get sorted? 
    I have a similiar problem with my R40 - Intel 1400mhz, 2GB RAM, Vista SP2
    Have tried the latest NIC drivers and no joy!

  • Brandnew T60 Network Cable unplugged error

    Hi all,
    I just got a brand new T60 today, and I cant connect to the internet using the lan inteface. I can connect wireless fine. 
    Whenever i plug the cable to the port, it stays as "network cable unplugged" this happens connecting it to my gig router or wireless router ports. If i connect straight to the modem it detects the cable and im able to connect. If i conect any other laptop it works fine, just this one having problems.
    this is on windows vista sp1 bussiness edition
    please assist me on this issue
    Thanks.
    Solved!
    Go to Solution.

    nevermind. i tried another cable and it worked.  eventho the cable that doesnt work with new laptop, works with other laptops.  oh well

  • Startup gets 'Network cable unplugged' on mini-PCI wireless card

    I recently installed a Netgear DG834GT wireless router and now have an intermittent problem connecting my Tecra 9100 to it. If the 9100 has been shutdown for a while (like overnight), when I restart I always get 'Network cable unplugged' for the wireless connection. Rebooting a number of times (anything from 3 upwards) I eventually get connected to the router and all then works fine for hours. Even a quick restart at this point (i.e. once the wireless card has connected) does not cause a problem but as soon as I leave the machine shutdown for a length of time it fails again at reboot.
    There are no errors in the Event log.
    I am using the built in mini-PCI wireless card and have already upgraded to the latest driver.
    Any ideas gratefully recieved, at the moment each morning is a 20-30 minute frustration of rebooting trying to get my connection working.
    (Running Win2K Professional)

    Checking other boards for help (Netgear etc.) it seems that the 'Network cable unplugged' is a common message when wireless connectivity is failing. However, to prove the point, I have disabled the other LAN card (for which I was also getting 'network cable unplugged' but as expected since it was). I still get the same issue with the wireless card, although now the reboots are slightly more predictable - it normally seems to succeed on the third reboot. I guess disabling the other card has changed the startup timing slightly and in that way made things slightly better.
    Again, any other suggestions gratefully received. As this seems to be a timing issue at startup, I am suspicious that one of the other things that runs at that time is causing the problem.

  • Startup gets 'Network cable unplugged' on mini-PCI wireless card (again)

    Reposting as previous topic has been locked although has not been resolved. Original post below, please see previous post for more details
    I recently installed a Netgear DG834GT wireless router and now have an intermittent problem connecting my Tecra 9100 to it. If the 9100 has been shutdown for a while (like overnight), when I restart I always get 'Network cable unplugged' for the wireless connection. Rebooting a number of times (anything from 3 upwards) I eventually get connected to the router and all then works fine for hours. Even a quick restart at this point (i.e. once the wireless card has connected) does not cause a problem but as soon as I leave the machine shutdown for a length of time it fails again at reboot.
    There are no errors in the Event log.
    I am using the built in mini-PCI wireless card and have already upgraded to the latest driver.
    Any ideas gratefully recieved, at the moment each morning is a 20-30 minute frustration of rebooting trying to get my connection working.
    (Running Win2K Professional)

    More info : I have found that this is time related rather than related to the number of reboots. It always fails on the first reboot after being shut down for a period of time. At this point, however long I wait the connection never comes up. However, if I wait a few minutes and then reboot, the second reboot will always successfully establish the connection.
    On this basis, the problem has become slightly less annoying as I have a workaround - boot once, wait a few minutes and reboot. That being said, any information on how I can isolate this further (e.g. tracing what is running at startup) would be gratefully recieved.

  • WRT54G network cable unplugged

    I

    Try the following tips to resolve your problem:
    Disable the Ethernet network adapter if you are not using it. This applies, for example, when running a WiFi home network with computers that have built-in Ethernet adapters. To disable the adapter, double-click the small Network Cable Unplugged error window and choose the Disable option.
    Check both ends of the Ethernet cable connected to the adapter to ensure they are not loose.
    Replace the Ethernet cable with a different one to verify the cable is not damaged.
    Update the network adapter driver software from the manufacturer's Web site.
    Change the Link Speed and Duplex settings (using Device Manager) to use "100 Mbps Full Duplex" or "10 Mbps Full Duplex" instead of Auto Detect.
    Replace the Ethernet network adapter
    Good Luck,
    Ttech

  • Network Cable Unplugged Status, PC to PLC

    I am working with a PLC connected to the PC via Ethernet.  I would like to receive notification that the cable is unplugged.  Here is the scenario:
    1) Connect to PLC with ConnectToTCPServer (ok).
    2) Send commands via ClientTCPWrite (ok).
    3) Receive status back from PLC. (ok)
    All this works great.
    Now unplug the Ethernet cable.  Go to step 2) and send the command.  CVI sends it and returns a -kTCP_NoError.  The PLC never responds, and the system is frozen.
    Why do I not get an error when using ClientTCPWrite to an open/broken connection?
    Obviously, Windows is aware of the connection, as I instantly get a "Network Cable Unplugged" notice in the taskbar.  Is there an SDK function to do this?
    If you wait long enough, it will trigger the TCP_DISCONNECT in the callback.
    Thanks in advance, David

    Hey Microanalytics,
    Here are some related posts that give good solutions to this problem:
    http://forums.ni.com/t5/LabWindows-CVI/How-to-find-if-the-network-cable-is-unplugged/td-p/1893377
    http://forums.ni.com/t5/LabWindows-CVI/How-to-check-network-availability/m-p/689645/highlight/true#M...
    Peter T
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Trouble w video

    I'm Having trouble streaming videos from a website , what do I do ?

  • Link to image on webserver

    Hello, I was wondering if it's possible to link to an image that's on a webserver and not on a local machine. So without downloading the image first. Kind regards, Michel

  • When I try to open the latest version I get a message saying I don't have sufficient priveleges for some of them items

    I have version 6.0. I downloaded the latest version. When I move the icon to the applications folder I get a message asking if I wish to replace the older version. When I say yes, I get a message saying I don't have "sufficient privileges for some of

  • Phone will not turn back on

    The screen was frozen so I restarted my phone, which I have done many times before with no problem. but now it won't turn back on. I press down the lock button and apple logo appears for about 10 seconds then goes back to a black screen. it's been th

  • E61i - Delete old emails from phone

    Hey, I have my E61i configured with an IMAP account. I have set it to retrieve every 30 minutes, with automatic retrieval enabled for "All" messages(only option is to retrieve Headers Only). Now.. I started using this phone in June and have ALL my em