I want to write data from an std::vector to a socket, using the write function, which has this prototype:
std::vector
write
ssize_t write
&mv_vec[0]
or
&my_vec.front()