Hey there,
I'd like to use UDP for my game in favor of TCP but I hit some roadblocks and like to ask questions about those here.
First, how would I use selectors with UDP since I have no connected selection between server and client which can determine which packages to get. Do selectors in UDP even make sense?
Then, how can I have easy two-way communication using UDP? To my understanding, I need open, bound and forwarded ports on both sides which is inconvenient for Internet play. How do others solve this problem with UDP?
Thanks in advance.