事件:'connectionAttempt'
【Event: 'connectionAttempt'】
当开始新的连接尝试时触发。如果在 socket.connect(options) 中启用了网络类型自动选择算法,可能会多次触发此事件。
【Emitted when a new connection attempt is started. This may be emitted multiple times
if the family autoselection algorithm is enabled in socket.connect(options).】