I am trying to make on linux, the simplechat from the book, it actually runs, but upon connection it does nothing but connect, with some stepping through I have found that the select NEVER says the socket has activity, but something silently connects the socket anyway, does anyone have any idea?
Ron Penton's simple Chat
Posted by Nekosune on Sun 02 Oct 2011 06:47 PM — 3 posts, 14,159 views.
if anyone was intrested, SocketLib tries to pass select the highest descriptor, NOT highest descrptor +1 like linux needs
Thanks for that. I seem to remember having the same issue and spending a lot of time looking for it.