>Yes, shure but that mistakes are warnings,
They are warnings because often times, they are because of bugs in your program. In this case, they are from bugs in your program.
>fd_set is saying that was no declared, but it's a struct from the sockets library.
yes, but that's the library. You also need to include the proper header files.
>The same with the other socket functions..The errors on the recv and the send functions are just warning
Yes, but in this case, they are signs of bugs in your program.
>the code compiles perfectly in a simple compilation with gcc,
Just because it compiles, doesn't mean there aren't bugs in it.
>what about the select? compile the code in the normal way and check it
You have other, more basic, errors that are making your program not work right now.