Is there some way I can force winsock to ignore the TCP standard that all packets be received in order? I would like to take advantage of TCP''s small header size w\o uzing the guaranteed in-order delivery.
If you don''t want the guaranteed in-order delivery, then don''t you just want UDP? Or do you want TCP without in-order but guaranteed delivery? You can''t get it to work like that. Best you can do is use UDP and implement your own packet checking system. (And TCP has a huge header size at least compared to UDP.)
TCP includes in-order delivery as part of its definition. It cannot be disabled.
To respond to SiCrane: TCP''s header is larger than UPD''s, but the TCP header is compressed during transmission, while the UDP header is not. How much that affects your overhead depends on how many individual transmissions you make.
TCP header compression can only be done over a SLIP or PPP connection. It''s decompressed after it leaves that datalink. Even the best compression I''ve seen in comparison with UDP is only two bytes shorter per packet.