|
-
Jan 1st, 2003, 06:28 PM
#1
Thread Starter
PowerPoster
TcpClient
How do you know when the remote host has closed the connection of your TcpClient / associated NetworkStream?
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
Jan 4th, 2003, 08:45 AM
#2
Guru
When you receive a TCP packet with RST in its header, of course.
-
Jan 4th, 2003, 04:02 PM
#3
What if the remote host crashes?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 4th, 2003, 05:27 PM
#4
Guru
Won't that still happen?
That or you'll get some ICMP error, I forget.
-
Jan 5th, 2003, 07:54 AM
#5
I think only the remote computer itself sends RST packets. So if it crashes then all packets would time out. At least that's what I think.
On the other hand, if only the responding app crashes then you get RST packets.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 2nd, 2007, 11:17 AM
#6
New Member
Re: TcpClient
Im trying to send a TCP RST using VB6 or VB.net.
Could you tell me how?
Thanks in advance.
Alfredo
-
May 2nd, 2007, 11:21 AM
#7
New Member
Re: TcpClient
 Originally Posted by adelallata
Im trying to send a TCP RST using VB6 or VB.net.
Could you tell me how?
Thanks in advance.
Alfredo
-
May 2nd, 2007, 11:56 AM
#8
Re: TcpClient
Let's see. You revived a 4-year-old thread about C# to ask a question about VB/VB.Net. Then you waited a full 4 minutes before bumping the thread. Hmm ...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 4th, 2007, 02:14 PM
#9
Re: TcpClient
It made you reply didn't it
I don't live here any more.
-
May 4th, 2007, 02:22 PM
#10
Re: TcpClient
Yes, but there's no hope of actually getting a useful answer from me.
Of course, if he wants his mailbox full of notifications for posts that have no value for him ...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 4th, 2007, 02:25 PM
#11
Thread Starter
PowerPoster
Re: TcpClient
 Originally Posted by CornedBee
Yes, but there's no hope of actually getting a useful answer from me.
Of course, if he wants his mailbox full of notifications for posts that have no value for him ... 
What a coincidence, that's exactly what I'm getting as the thread starter
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
May 4th, 2007, 02:32 PM
#12
Re: TcpClient
That's why it's rude to wake zombies in the first place, I know. But now that it's been woken, the best thing for you would probably to just unsubscribe.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|