10048 00002740 WSAEADDRINUSE

Source

Winsock

Explanation

Address already in use.

Possible Cause

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, a socket that wasn't 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, consider using SAL_SktSetOption(SAL_SO_REUSEADDR). Client applications usually don't need to call SAL_SktBind at all because SAL_SktConnect chooses an unused port automatically. When SAL_SktBind is called with a wildcard address (involving SAL_ADDR_ANY), SAL_SKTEADDRINUSE could be delayed until the specific address is committed. This could happen with a call to another function later, including SAL_SktConnect or SAL_SktListen.

Action

See Reporting Error Code Problems to Novell®.

A trademark symbol (®, TM, etc.) denotes a Novell trademark. An asterisk (*) denotes a third-party trademark. For information on trademarks, see Legal Notices.