Sending an int array through Winsocks

Posted by seed on Stack Overflow See other posts from Stack Overflow or by seed
Published on 2010-04-22T02:56:40Z Indexed on 2010/04/23 0:13 UTC
Read the original article Hit count: 284

Filed under:
|
|

I'm trying to send an int array through Winsocks. I might be wrong, but I'm pretty sure only a char* is supported so I'm kind of stuck on how to do this properly. There are also problems with little/big edian, so what would be a good way to do this? I've already asked a question of converting int array to char but it was recommended to start a new thread on this in the networking section instead.

© Stack Overflow or respective owner

Related posts about networking

Related posts about c++