Winsock ConnectEx function
Today jianghong has pointed out that ConnectEx found in Windows Socket API has combined the connection and sending of the first block of data together within one system call. I think this is desirable for us too, as this can reduce unnecessary context switches.
FreeBSD has accept_filter(9) mechanism that does similiar thing for accept(2).