Quote Originally Posted by beginner91 View Post
that is the old setsockopt. sorry i just commented it out instead of removing it
i rewrote it when i added the error message code as you can see if you look at the code i posted and look for //----------- set socket ---------// comment
Please, post your final code now.