I'm writing a C/C++ client-server program under Linux. Assume a message m is to be sent from the client to the server.
Is it possible for the client to read the TCP sequence number of the
packet which will carry m, before sending m?
In fact, I'd like to append this sequence number to m, and send
…