How to preserve Globally Connection Object?
-
I am using Client-server Architeture for my c#.net Window base Application. For that I am using TCP Remoting. How can I preserve Connection object? means Only once Connection will establish while log in.and it will available me through life time of application.
Hallo
-
I am using Client-server Architeture for my c#.net Window base Application. For that I am using TCP Remoting. How can I preserve Connection object? means Only once Connection will establish while log in.and it will available me through life time of application.
Hallo
-
I am using Client-server Architeture for my c#.net Window base Application. For that I am using TCP Remoting. How can I preserve Connection object? means Only once Connection will establish while log in.and it will available me through life time of application.
Hallo
Hello, May be you can try to store that object using binary serialization and use it any time you want. This is just one idea I want to share with you.:~ :~ :~ :~ nishu
-
I am using Client-server Architeture for my c#.net Window base Application. For that I am using TCP Remoting. How can I preserve Connection object? means Only once Connection will establish while log in.and it will available me through life time of application.
Hallo
It's dangerous to assume that the connection will always be there throughout the life of your application. What happens if the machine at the other end is restarted? Your connection is no longer valid, and operations on it will fail.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.