Disclosure: the code I\'m working on is for university coursework.
Background: The task I\'m trying to complete is to report on the effect of different threading tec
Cannot assign requested address is the error string for the EADDRNOTAVAIL error.
I suspect you are running out of source ports. There are 16,383 sockets in the dynamic range available for use as a source port (see RFC 2780). 150 clients * 100 connections = 15,000 ports - so you are probably hitting this limit.