Remoting (client/server): Writing to remote object ,(synclock)
Posted on 2008-09-30
I have a question regarding writing to a remote object.
I have a server that receives information from a client, this client execute several rows of code, each row sends data to the server and each call is to the same function on the server.
So on the client side I have this.
Private sub SendData
Server.WriteData = 10
Server.WriteData = 11
Server.WriteData = 12
Server.WriteData = 13
Server.WriteData = 14
Server.WriteData = 15
Server.WriteData = 16
and so on&.
So we call the same function several times but each write takes some time, the WriteData function on the server is pretty large.
So my question is, is this going to work? Or must I have a synclock on the server function or does the remoting stuff takes care of that?