Check if variable exist
variable is sock and not sockpl
forget to close the socket :D