test fmt through socket; clean up.