Q: Best way to send large arrays of integers over TCP sockets? I am not asking for any specific code, but I would like some direction since I'm new to sockets in C++.  I was wondering what is the best way to send large data sets of integers?  I know there is a buffer limit on how much is being sent so obviously you cannot send a huge array.  How does this work then?  Do you make multiple send calls with smaller arrays?  If so, how do you know how small each chunk should be?  I need to be able to send large data sets with integers in the millions, so I would appreciate some sort of advice or explanation as to how this would work with TCP sockets in C++.  Thanks!
