hi, can anyone give me pointers/sample code on how to use the "close_on_empty" flag so that a TCP connection closes when it transfers the bytes required? thanks, biplab sikdar