Winsock Socket error 10048 socket bind
Hi,
I'm using windows xp sp2. When launching DSLSpeed pc Webhosting 1.0 program getting this error "Address already in use ". How can I check to see what particular socket this program is trying to use and what seems to be already using it?
Thanks in advance!
Re: Winsock Socket error 10048 socket bind
TCPView from SysInternals will list "listen ports" and their applications
http://www.sysinternals.com/Utilities/TcpView.html
Re: Winsock Socket error 10048 socket bind
Run this command:
This will show you which programs are currently listening/connected and on which ports.
Re: Winsock Socket error 10048 socket bind
Refer this http://msdn.microsoft.com/en-us/libr...68(VS.85).aspx for Windows Sockets Error Codes
Address already in use.
Typically, only one usage of each socket address (protocol/IP address/port) is permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly, or one that is still in the process of closing. For server applications that need to bind multiple sockets to the same port number, consider using setsockopt (SO_REUSEADDR). Client applications usually need not call bind at all— connect chooses an unused port automatically. When bind is called with a wildcard address (involving ADDR_ANY), a WSAEADDRINUSE error could be delayed until the specific address is committed. This could happen with a call to another function later, including connect, listen, WSAConnect, or WSAJoinLeaf.
Re: Winsock Socket error 10048 socket bind