Results 1 to 5 of 5

Thread: Winsock Socket error 10048 socket bind

  1. #1
    Join Date
    Oct 2008
    Posts
    36

    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!

  2. #2
    Join Date
    Nov 2005
    Posts
    1,203

    Re: Winsock Socket error 10048 socket bind

    TCPView from SysInternals will list "listen ports" and their applications
    http://www.sysinternals.com/Utilities/TcpView.html

  3. #3
    Join Date
    Mar 2008
    Posts
    429

    Re: Winsock Socket error 10048 socket bind

    Run this command:

    netstat -a
    This will show you which programs are currently listening/connected and on which ports.

  4. #4
    Join Date
    Mar 2008
    Posts
    212

    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.

  5. #5
    Join Date
    Dec 2008
    Posts
    1,108

    Re: Winsock Socket error 10048 socket bind

    Refer this similar thread socket error
    The difference between stupidity and genius is that genius has its limits. - Albert Einstein

    What we think, we become (Please don't think you are a superhero and don't try to fly)

    "SUCCESS IS NOT A DESTINATION , IT'S A JOURNEY"

Similar Threads

  1. Replies: 6
    Last Post: 22-07-2011, 10:24 PM
  2. What is socket and server socket in java?
    By Truster in forum Software Development
    Replies: 5
    Last Post: 01-02-2010, 02:08 PM
  3. Which one should i buy: AMD Socket AM2 or Intel Socket 1156 ?
    By Liam M in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 24-12-2009, 11:18 AM
  4. AMD cpu on Socket AM3 motherboards Socket AM2
    By Kane01 in forum Web News & Trends
    Replies: 3
    Last Post: 28-11-2008, 07:09 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,711,166.54243 seconds with 17 queries