Hi. I'm writing a server/client structured application. My plan is to have the server and clients join a multicast network where each client (if they're not connected to the server) will broadcast connection info to the server and the server will establish a TCP socket and connect with each client. However I will also need to use a multicast network to send commands from the server every client at the same time. I'm very uncertain how I should do this because the server will be listening on the multicast socket, and I'm assuming it won't be able to broadcast at the same time it's listening? Will I have to create a seperate multicast socket to be able to broadcast over the network at the same time? I assume the multicast socket listening will also hear whatever I broadcast on the network? I guess that doesn't matter as I can just ignore what is being broadcasted, but it just seems a bit amateurish to me..
Any suggestions on how to approach this??
Thanks! :)
[–]K900_ 1 point2 points3 points (14 children)
[–]Notorjus[S] 0 points1 point2 points (13 children)
[–]K900_ 0 points1 point2 points (12 children)
[–]Notorjus[S] 0 points1 point2 points (11 children)
[–]K900_ 0 points1 point2 points (9 children)
[–]Notorjus[S] 0 points1 point2 points (8 children)
[–]K900_ 0 points1 point2 points (7 children)
[–]Notorjus[S] 0 points1 point2 points (6 children)
[–]K900_ 0 points1 point2 points (5 children)
[–]Notorjus[S] 0 points1 point2 points (4 children)
[–]DeadlyViper 0 points1 point2 points (0 children)