do not write on a non-connected socket (duh).