winsock:: sending char 0's using send()?
i want to send a buffer of a certain length weather it has char 0s before the end of the string or not. is there a way around this?
You just supply the number of bytes you want to send as an argument to the send() function. There's no problems if the buffer contains 0s.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement