Discussion Locked

Ping error message

0 helpful
18 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I try to ping my computer to other computer which are link together in the same network.I have set the appropriate IP address and subnet mask.
When I try to ping through the ip address it display out this error message
"ping transmit fail error code=10045"
Please advice
Thank you.

18 replies

by mike o

My guess would be there may be a problem with the device driver or the NIC card itself. Or maybe the driver/software installation was interrupted (ie, someone hit cancel or skip file, assuming it's a Windows system). What happens when you try to ping that PC from the other one?

Here's a site with some Ping usage info:
http://support.baynetworks.com/library/tpubs/html/router/soft1200/117381AA/A_32.HTM

Maybe if you dig around you can find a list of error codes as well.

by jmstitt

Try this program. It is a ping with error level codes.

http://wettberg.home.texas.net/alive.htm

ALIVE.EXE Version 1.2 : Ping utility that returns ERRORLEVEL

Usage: ALIVE [/REPEAT=#] [/TIMEOUT=SECONDS] [ADDRESS OR HOSTNAME]

ALIVE pingsthe specified host and returns an ERRORLEVEL indicating success or the reason for failure. /REPEAT and /TIMEOUT are optional parameters, the default REPEAT (# of attempts) value is 5 and the default TIMEOUT is 4 seconds. The program will terminate with an ERRORLEVEL 0 when it senses a successful ping regardless of the /REPEAT value.

Example: ALIVE /Repeat=8 /Timeout=3 host.somewhere.com

Request timed out : ERRORLEVEL 1
Destination host unreachable : ERRORLEVEL 2
Destination network unreachable : ERRORLEVEL 3
Destination protocol unreachable : ERRORLEVEL 4
Destination port unreachable : ERRORLEVEL 5
Hardware error : ERRORLEVEL 6
TTL expired in transit : ERRORLEVEL 7
Bad Destination : ERRORLEVEL 8
Other errors : ERRORLEVEL 255
The program is 37K

by parbo

I think this is where the error is coming from:
Socket operation on non-socket.

An operation was attempted on something that is not a socket. Either the socket
handle parameter did not reference a valid socket, or for select, a member of an
fd_set was not valid.

WSAEOPNOTSUPP (10045)
That could mean that you have a config problem or have a problem with the networking portion of the OS. I'm not sure what OS you're running but usually it helps to remove all the networking components, reboot and reload them and configure it.

by brian.biby

These machines are on the same subnet, so that means the IP addresses should be very close, perhaps only differing in the last octet?

The subnet mask is appropriate, perhaps as 255.255.255.0 for a subnet with machine addresses as described above?

Okay, the IP addresses and subnet mask are OK? Then on each machine, ping 127.0.0.1 which should be pinging itself. Each machine should ping successfully, if not, the problem is on the machine.

If they both ping right, yet cant ping each other, look at teh transport. Make sure they are using the SAME frame type... If they are not, they cant talk at all...

Good luck

by tlippert

Can you ping 127.0.0.1?
Can you ping the computers IP?
If NOT Uninstall and reinstall all network components.

IF yes the problem maybe in the other computer. Try same thing there.

by michelinda

Silly thing to add, but had this happen last week. The net card was not seated well. That is the exact error I got, and we kept testing everything and lo and behold the *&%$%$ card just fell out. It hadn't been screwed in tightly to begin with. Sheeshhh

by dwilliams

I agree with answer #6 the First step is to reinstall your network componants, even going as far as removing the NIC from the box re-booting the machine and making sure no networking componants are listed in the Windows system. Then place the NIC back in the box and let windows recognize the card and reload your IP protocal. We had this happen when we switched one dept from token ring to ethernet. It drove us crazy because all the IP settings where correct (address, gateway,DNS, subnet) and even when we tried to ping its own address we got the 100045 error. Now for the bad news, a few of the PC's just did not work with the above fix and we ended up having to reload the operating system to get them to work.

Good Luck...

This discussion is closed to new replies.