Going off the walkie talkie example using server & socket, how can you have multiple clients sockets attached to one server over wifi hotspot?
I have a microcomputer processing sensors and sending the data out over bluetooth. The main tablet program connects to the bluetooth and reads the sensors. Opens up a wifi hotspot and passes the data onto who ever is attached to that hotspot. I have it working with 1 client, but when I connect another client, it boots off the first one.
Can the serversocket and socket only handle 1 for 1 connection? How else would I broadcast data over wifi to any number of clients attached? Would I use TCP instead and use 255.255.255.0 ?
I have a microcomputer processing sensors and sending the data out over bluetooth. The main tablet program connects to the bluetooth and reads the sensors. Opens up a wifi hotspot and passes the data onto who ever is attached to that hotspot. I have it working with 1 client, but when I connect another client, it boots off the first one.
Can the serversocket and socket only handle 1 for 1 connection? How else would I broadcast data over wifi to any number of clients attached? Would I use TCP instead and use 255.255.255.0 ?