Fix. Use undefined var when create socket from fd.