关于setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
UDPdoesn'thaveconnections,sothere'snothinganalogoustoTIME_WAIT.Youdon'tneedtouseSO_REUSEADDR.Ifyou'relisteningonabroadcastormulticastaddress,youmightneedtouseSO_REUSEPORT,sothatiftherearemultipleliste