Menu

#2 SetOptOn broken

open
nobody
None
5
2007-05-02
2007-05-02
siona
No

SetOptOn only works by chance, if it works at all (which it doesn't for me). It should look something like:

void SetOptOn(int level, int opt)
{ int on = 1; setsockopt(m_sockfd, level, opt, &on, sizeof(int)); }

Discussion


Log in to post a comment.