device A is server, it has sqlite database.
device B, C and D is client, it don't have any database.
those devices i use serversocket,
InetAddress serverAddr = InetAddress.getByName(IP);
socket = new DatagramSocket(PORT, serverAddr);
byte[] buf = new byte[20];
DatagramPacket packet = new DatagramPacket(buf, buf.length);
socket.receive(packet);
so, my question is after connected. client device is able to access server device like fetchdata() in database? if can, then how to access?
Last but not least, i want to ask the wifimanager that allow multiple client access at a time should declare like what and should place the code at where?