Re: sockets die after a while (General questions)
additional information..
I've been doing some code research and I normally use debug everywhere so by placing this in the disconnected event
Debug.Print( dead: & Owner.Tag & - Case: & iRequest(Owner.Tag) & - Date: & Date.Now().ToLongTimeString & - ErrorCode: & ErrorCode & - Length: & Owner.Response.Length & - & wodHttp1(Owner.Tag).Response.Length)
I get this >
dead: 3 - Case: 3 - Date: 12:14:19 AM - ErrorCode: 0 - Length: 10493931 - 10493931
dead: 3 - Case: 3 - Date: 12:14:20 AM - ErrorCode: 0 - Length: 10493931 - 10493931
dead: 2 - Case: 2 - Date: 12:14:20 AM - ErrorCode: 10054 - Length: 12427916 - 12427916
dead: 2 - Case: 3 - Date: 12:14:21 AM - ErrorCode: 0 - Length: 12427916 - 12427916
dead: 2 - Case: 3 - Date: 12:14:21 AM - ErrorCode: 0 - Length: 12427916 - 12427916
dead: 3 - Case: 2 - Date: 12:14:27 AM - ErrorCode: 0 - Length: 1209712 - 1209712
dead: 3 - Case: 2 - Date: 12:14:27 AM - ErrorCode: 0 - Length: 1209712 - 1209712
this is wrong i think.. so next test is good!
it looks like its working all fine when calling this right before connecting and see the lenght for the responses now..
wodHttp1(Index) = New wodHttpDLXCom
wodHttp1(Index).Notification = Me
wodHttp1(Index).Tag = Index
wodHttp1(Index).AutoRedirect = True
wodHttp1(Index).Timeout = 30
dead: 3 - Case: 2 - Date: 12:11:33 AM - ErrorCode: 10054 - Length: 42337320 - 0
dead: 3 - Case: 3 - Date: 12:11:34 AM - ErrorCode: 0 - Length: 0 - 0
dead: 1 - Case: 2 - Date: 12:11:34 AM - ErrorCode: 10054 - Length: 16415969 - 0
dead: 3 - Case: 3 - Date: 12:11:34 AM - ErrorCode: 0 - Length: 0 - 0
dead: 1 - Case: 3 - Date: 12:11:34 AM - ErrorCode: 0 - Length: 0 - 0
dead: 3 - Case: 2 - Date: 12:11:34 AM - ErrorCode: 10054 - Length: 17342699 - 0
dead: 1 - Case: 3 - Date: 12:11:34 AM - ErrorCode: 0 - Length: 0 - 0
dead: 1 - Case: 2 - Date: 12:11:35 AM - ErrorCode: 10054 - Length: 43928693 - 0
Complete thread:
- sockets die after a while - Klinzter, 2013-09-10, 06:48
- Re: sockets die after a while - wodSupport, 2013-09-10, 09:57
- Re: sockets die after a while - Klinzter, 2013-09-12, 04:54
- Re: sockets die after a while - Klinzter, 2013-09-12, 06:19
- Re: sockets die after a while - wodSupport, 2013-09-12, 07:16
- Re: sockets die after a while - Klinzter, 2013-09-12, 07:22
- Re: sockets die after a while - wodsupport, 2013-09-12, 08:14
- Re: sockets die after a while - Klinzter, 2013-09-12, 08:46
- Re: sockets die after a while - wodSupport, 2013-09-12, 09:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 10:56
- Re: sockets die after a while - woddrazen, 2013-09-12, 14:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 21:03
- Re: sockets die after a while - woddrazen, 2013-09-13, 12:05
- Re: sockets die after a while - Klinzter, 2013-09-13, 22:28
- Re: sockets die after a while - woddrazen, 2013-09-13, 12:05
- Re: sockets die after a while - Klinzter, 2013-09-12, 21:03
- Re: sockets die after a while - woddrazen, 2013-09-12, 14:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 10:56
- Re: sockets die after a while - wodSupport, 2013-09-12, 09:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 08:46
- Re: sockets die after a while - wodsupport, 2013-09-12, 08:14
- Re: sockets die after a while - Klinzter, 2013-09-12, 07:22
- Re: sockets die after a while - wodSupport, 2013-09-12, 07:16
- Re: sockets die after a while - Klinzter, 2013-09-12, 06:19
- Re: sockets die after a while - Klinzter, 2013-09-12, 04:54
- Re: sockets die after a while - wodSupport, 2013-09-10, 09:57