Socket create check.