Increase listen backlog count to 50
This commit is contained in:
		@ -120,7 +120,7 @@ int main(int argc, char *argv[])
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Listen on port
 | 
			
		||||
	if(listen(sockfd, 10) != 0){
 | 
			
		||||
	if(listen(sockfd, 50) != 0){
 | 
			
		||||
		fprintf(stderr, "%s: cannot listen - %s\n",
 | 
			
		||||
			exec_name, strerror(errno)
 | 
			
		||||
		);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user