![]() |
|
[.NET] nstream, client not closing in my program. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] nstream, client not closing in my program. (/showthread.php?tid=3911341) |
nstream, client not closing in my program. - Moon Rock - Dec 6, 2013 So I have a remote desktop view program and it'll start, but once you click stop on the client side it'll stop. Later once you want to view them again you connect... you press start and the program crashes. So I stop and view were the code it at on the client and it's here. Code While client.Connected = TrueSo the server side isn't closing it's connection from the last session. How do I close it? Code the server uses to send images. Code If Not client.Connected ThenCode Public Sub TMR()Code Sub TElapsed() Handles T.ElapsedCode Private Sub SendImage()* - Moon Rock - Dec 10, 2013 Bump and help is appreciated a lot -still need help :/ |