The type of the data you are sending has no real meaning to sockets......you are writting/recieving a chunk of memory...so you specify the size and the send/recv functions simply work with the amount of memory they are told to...As long as you are specifying the size in bytes properly, you shouldnt hae a worry
Originally posted by WebmasterMattD
Okay, I am wondering exactly what can and can't be sent over a network using the send and recv commands. As the bulk of what is sent ( the data ) is of type void * or const void *, does this mean that any data type can be sent?
If people could help me out by giving examples of what they have successfully sent and recieved using BSD like network sockets.