When using udp to send messages,I have a habit to use a new udp port each time I need to send something, very easy and quick but can result in lots of ports being used. Or I use just one port; and with (sprintf) or (prepend), give the desired message a unqiue ID so to speak, then the other side I use (route) or (zl compare) to decode the message out. So I can then have many messages sent through just one udp port.
I am wondering which is more efficient? To have lots of ports in use or to have lots of (sprintf)'s and (route)'s working on just one port with longer messages? Can one port become clogged relative to multiple ports? Or maybe too many ports be used at once?
Does anyone have any info they could share?
thanks : )