Pierre-Arnaud Lpt

2

votes
0

answer
11

views

Socket creation speed huge difference Python3.7/Python2.7

I'm trying to create a socket, then connect to the same server until I can't make any connection from my PC and I face a problem : my program is WAY faster with Python 2.7 than with Python 3.7. Here a minimal example: import time import socket begin = time.time() socket_list = [] while True: try: s...
Pierre-Arnaud Lpt