Is there any easy way to implement concurrency in udp servers. In TCP we have a connection which can be used to distinguish clients which is not the case in UDP. So is there any other way in which a client can be uniquely identified from another which is trying to connect to the server so that the server can fork a process for each new datagram which is from a new client. Or is there any alternative implementation without using forks
Share
Keep a list of already “connected” clients, and when a new datagram is received then check against this list.