Is it possible to send the IP & TCP headers before sending the payload (so there are two calls to the socket's send function)? While I'm sure you can 'do it' with raw sockets, I'm not sure if the network devices (e.g., switches) will be able to handle it. If it isn't possible, could you please explain the low level networking concepts which prevent this from working (obviously as briefly as possible)?
Thanks.