Home Forums Support NetworkComms.SendObject from Server to all clients

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4258
    Anonymous
    Inactive

    How would i go about sending something from the server to all clients. Such as how NetworkComms.SendObject sends from client to server, but i would like server to all clients. Also how would i do server to a specific client?, would i use NetworkComms.SendObject?

    Cheers

    #4259
    Anonymous
    Inactive

    You could use UDP broadcast which is supported, but this only works well if the devices are all on the same network – https://networkcomms.net/udp-broadcasting/

    Otherwise your only alternative would be to contact all clients individually in a for loop.

    Kind regards,
    Marc

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.