title: C++ Sockets - Can i only send characters?
body: <p>I'm using synchronised sockets with a win32 window, and using the send() and recv() function to send data over internet TCP;</p>
  
  <p>what i'm wondering, how would i send some integers or even my own class/structure over the tcp socket? because the send() function only lets me send characters.</p>
  
  <p>Would i just have to send characters and then maybe convert them to integer with atoi()? or if i wanted to send a class structure, would i send many strings over and then put them in the variables.. one by one.</p>