S
Sagaert Johan
Hi
When the remoting server starts and the client immediate begins calling the
remote object on the server no problems.
But when the client does not need to access the remote object for some time
the connection seems to be broken on the next attempt to do a call to the
remote object on the server. (i need to restart the server application to
get it working again ).
So it appears if the remoting connection is idle for some time ( about a
minute max ) the connection seems to break.
When there are regular call it ran for a whole day without problems.
Any way i can fix this ?
Thanks ,
Johan
this is how i ini the remote server
// Register our tcp channel
ChannelServices.RegisterChannel(new TcpChannel(setting.RemotePort), false);
// Register an object created by the server
rmDisplay = new Display(); //inherits from MarshalByRefObject
ObjRef refDisplay = RemotingServices.Marshal(rmDisplay, "Display");
When the remoting server starts and the client immediate begins calling the
remote object on the server no problems.
But when the client does not need to access the remote object for some time
the connection seems to be broken on the next attempt to do a call to the
remote object on the server. (i need to restart the server application to
get it working again ).
So it appears if the remoting connection is idle for some time ( about a
minute max ) the connection seems to break.
When there are regular call it ran for a whole day without problems.
Any way i can fix this ?
Thanks ,
Johan
this is how i ini the remote server
// Register our tcp channel
ChannelServices.RegisterChannel(new TcpChannel(setting.RemotePort), false);
// Register an object created by the server
rmDisplay = new Display(); //inherits from MarshalByRefObject
ObjRef refDisplay = RemotingServices.Marshal(rmDisplay, "Display");