I'm new to socket programming. Have a basic doubt.
I have a structure(global) at the server side.
I have two different client connecting to the server. Will the changes made by one client on the structure be visible to the other client when it accesses the same client? I'm creating a STREAM socket. The client connects to server through connect call.
which structure you want to change on the server side ....
can you explain this briefly ...
Provide some example is possible ..
Which structure you want to change in the serverside ..
can you explain more elaborately ..
if possible provide some example ..
It depends where this structure lives and whether each client gets a separate process.
If all clients shared the server process and the structure is in global data then yes.