I couldn't find much information on this, but I have a simple sequence of code like:
// does it wait on Write() until successful handshake or attempt failure
// or just continue on straight away?
net.conn.Write(buffer[1:60])
conn.Close()
Does this guarantee delivery to client/server before Close
is called? Or will Close be called after the message sent, and potentially close the connection during the handshakes if they were too slow to complete in time ?