Adding openingSockets.py file on behalf of Rashed.