Solved

vb.net 2010 sockets disconnecting

Posted on 2011-02-22
5
520 Views
Last Modified: 2012-05-11
I have a chat program that works fine except one thing that I can't seem to figure out.  If a client leaves the chat open too long without activity the socket automatically disconnects.  I am wanting to prevent this behavior..They must close the chat and reopen while the server side is fine the client seems to be the culprit....Thanks in advance.

Jerry
0
Comment
Question by:junkyforjc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Accepted Solution

by:
cdebel earned 500 total points
ID: 34956347
I don't know if there's something built-in, but this is what we call a "Keep Alive".
It's usually no rocket science to program.  You can read about it here:

http://en.wikipedia.org/wiki/Keepalive

I suggest you to wait for another answer.  It might be built-in in VS2010 sockets components
0
 

Author Comment

by:junkyforjc
ID: 34973154
Thanks cdebel and you are right as I was hoping someone might chime in with the info for vb.net 2010 that would be more specific.  But I certainly appreciate your comment as there are no other takers.  If no one else answers soon I will award the points to you.
0
 
LVL 15

Expert Comment

by:riteheer
ID: 37688395
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ahmedn1
Introduction Some developers today tend to use Skypekit in their applications to make it more interactive with the user. Skype API is very awesome indeed but the problem is it is only available in C++, Java and Python. I can't understand why Micr…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question