Solved

vb.net 2010 sockets disconnecting

Posted on 2011-02-22
5
502 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Let Bitmoji into your life. Now is the time to learn a new language of smartphone messaging with this brief introduction.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now