A
A
Andrey Osty2012-01-23 11:39:48
.NET
Andrey Osty, 2012-01-23 11:39:48

Working with sockets in windows

I am writing a server in .NET. So I catch Keep Alive hanging client sessions and close the socket with the Close() command. The session for the program becomes closed, but the windows socket is at least 2 minutes. And at this time, the client wakes up for him, the session is active and starts sending data to nowhere. Advise in which direction to dig.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Osty, 2012-01-23
@2king2

Thanks to all who responded!

O
Oleg Matrozov, 2012-01-23
@Mear

Write a short description of the article in the question itself. If it turns out to be interesting, then I will gladly put you +1, and I think I will not be alone.

M
Maxim, 2012-01-23
@Maxim_ka

It is clear in your profile that you did not even try to earn karma on your own, I think you should first try to earn it by answering in the comments, and then ask for help, then there would be fewer minuses, much less ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question