Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: ideal time out problem Pin
VishwaKL26-Nov-12 23:44
VishwaKL26-Nov-12 23:44 
AnswerRe: ideal time out problem Pin
Simon_Whale26-Nov-12 23:48
Simon_Whale26-Nov-12 23:48 
AnswerRe: ideal time out problem Pin
BobJanova28-Nov-12 23:53
BobJanova28-Nov-12 23:53 
GeneralRe: ideal time out problem Pin
VishwaKL29-Nov-12 20:51
VishwaKL29-Nov-12 20:51 
QuestionDetecting Internet Connection Loss Pin
Roger Wright26-Nov-12 16:29
professionalRoger Wright26-Nov-12 16:29 
AnswerRe: Detecting Internet Connection Loss Pin
Abhinav S26-Nov-12 16:56
Abhinav S26-Nov-12 16:56 
GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright26-Nov-12 17:40
professionalRoger Wright26-Nov-12 17:40 
AnswerRe: Detecting Internet Connection Loss Pin
Peter_in_278026-Nov-12 18:38
professionalPeter_in_278026-Nov-12 18:38 
What I did to manage things was to use the web-based command/status interface of the modem/router and some HTML parsing. For example, I get hourly reports of the ADSL line status (speed/attenuation/margin, up and down) this way, and I can reboot it by going to the appropriate URL (after logging in, of course)
27/11/12 15.00.34,12864 kbps,42.0 db,6.20 db,1020 kbps,20.5 db,7.0 db
27/11/12 16.00.34,12793 kbps,42.5 db,6.45 db,1020 kbps,20.5 db,7.0 db

I also set up a syslog daemon and got the modem/router to log everything. So when the telco tech called this moring to look at my line problems, I could show him logs like this:
2012-11-27 12:45:40	User.Emerg	172.19.243.1	[Internet disconnected]
2012-11-27 12:47:04	User.Emerg	172.19.243.1	[Internet connected] IP address: 101.174.189.211,
2012-11-27 12:59:55	User.Emerg	172.19.243.1	[Internet disconnected]
2012-11-27 13:01:16	User.Emerg	172.19.243.1	[Internet connected] IP address: 203.51.49.191,
2012-11-27 15:47:16	User.Emerg	172.19.243.1	[DHCP IP: (172.19.243.125)] to MAC address 00:1A:4B:62:40:3F,

Helps no end convincing them that there actually is a problem.

If you want any more along these lines, email me.

Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright27-Nov-12 2:32
professionalRoger Wright27-Nov-12 2:32 
QuestionDateTime NullReferenceException Pin
zeqir8525-Nov-12 22:36
zeqir8525-Nov-12 22:36 
AnswerRe: DateTime NullReferenceException Pin
Ingo25-Nov-12 23:15
Ingo25-Nov-12 23:15 
GeneralRe: DateTime NullReferenceException Pin
zeqir8525-Nov-12 23:37
zeqir8525-Nov-12 23:37 
GeneralRe: DateTime NullReferenceException Pin
Ennis Ray Lynch, Jr.26-Nov-12 6:39
Ennis Ray Lynch, Jr.26-Nov-12 6:39 
AnswerRe: DateTime NullReferenceException Pin
Ingo26-Nov-12 23:17
Ingo26-Nov-12 23:17 
AnswerRe: DateTime NullReferenceException Pin
Abhinav S26-Nov-12 16:58
Abhinav S26-Nov-12 16:58 
QuestionProcess.Start with current folder? Pin
Joni_7825-Nov-12 21:52
Joni_7825-Nov-12 21:52 
AnswerRe: Process.Start with current folder? Pin
Richard MacCutchan25-Nov-12 22:06
mveRichard MacCutchan25-Nov-12 22:06 
GeneralRe: Process.Start with current folder? Pin
Joni_7825-Nov-12 22:17
Joni_7825-Nov-12 22:17 
GeneralRe: Process.Start with current folder? Pin
Richard MacCutchan25-Nov-12 22:36
mveRichard MacCutchan25-Nov-12 22:36 
GeneralRe: Process.Start with current folder? Pin
Joni_7826-Nov-12 0:30
Joni_7826-Nov-12 0:30 
GeneralRe: Process.Start with current folder? Pin
Richard MacCutchan26-Nov-12 0:48
mveRichard MacCutchan26-Nov-12 0:48 
GeneralRe: Process.Start with current folder? Pin
Joni_7827-Nov-12 23:44
Joni_7827-Nov-12 23:44 
QuestionEfficent method to find index of a value in a array Pin
PozzaVecia25-Nov-12 7:48
PozzaVecia25-Nov-12 7:48 
AnswerRe: Efficent method to find index of a value in a array Pin
PIEBALDconsult25-Nov-12 8:35
mvePIEBALDconsult25-Nov-12 8:35 
AnswerRe: Efficent method to find index of a value in a array Pin
BobJanova25-Nov-12 22:21
BobJanova25-Nov-12 22:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.