use create_socket from process_tools, pep8