If bind() causes error 98 (EADDRINUSE) or 10048 (WSAEADDRINUSE), it means you are trying to bind to a local port that is already in use. This is usually caused by one of three reasons: Another program is already using that port. Your program is already running and you've attempted to start it a second time.