Windows Sockets Error – WSAEISCONN 10056

In this post, you’ll learn more about the Windows Socket Error WSAEISCONN
10056 returned by the WSAGetLastError function in Windows as well a quick description about the error

Windows Socket Error Code

WSAEISCONN
10056

Windows Socket Error Description

Socket is already connected.
A connect request was made on an already-connected socket. Some implementations also return this error if sendto is called on a connected SOCK_DGRAM socket (for SOCK_STREAM sockets, the to parameter in sendto is ignored) although other implementations treat this as a legal occurrence.