Hello,
My app is handling an sqlite database loaded on a device. At the same time, I have the same database loaded on another device. Now, I know that the use of mySQL could be a solution, but since I find sqlite sufficient for my app, I chose to send data from one device to the other and then let them update their table records.
My question is this: if I have two or more 'clients' and they send data at the listening 'server' at the very same moment, the routine provided by Erel at his very useful network tutorial (thank you!) will handle the multiple requests properly or perhaps I have to create another server socket with different port for example, in order to avoid conflicts? Thank you.
My app is handling an sqlite database loaded on a device. At the same time, I have the same database loaded on another device. Now, I know that the use of mySQL could be a solution, but since I find sqlite sufficient for my app, I chose to send data from one device to the other and then let them update their table records.
My question is this: if I have two or more 'clients' and they send data at the listening 'server' at the very same moment, the routine provided by Erel at his very useful network tutorial (thank you!) will handle the multiple requests properly or perhaps I have to create another server socket with different port for example, in order to avoid conflicts? Thank you.