Max socket connexion on unix

Hi,

I used this tutorial, to create a chat application. But now I’m getting to the point where i’ve reach the max socket connexion on my centOs box…

Which is 120… when there’s more then that number of users in the chat … things start to get messy…

I have tried to change the SOMAXCONN kernel variable without success…

I’m sure there is a solution to boost the number of user my chat can handle… (My server is dedicated to the chat)…

A lot of flasher probably encounter this problem with multiplayer games or chat… does anyone have a clue?

tks

Tks