Click here to Skip to main content
15,888,908 members
Home / Discussions / C#
   

C#

 
GeneralRe: ...(object sender, System.EventArgs e) Pin
Imran Adam9-Oct-07 9:04
Imran Adam9-Oct-07 9:04 
AnswerRe: ...(object sender, System.EventArgs e) Pin
Scott Dorman9-Oct-07 9:49
professionalScott Dorman9-Oct-07 9:49 
GeneralRe: ...(object sender, System.EventArgs e) Pin
Imran Adam9-Oct-07 10:17
Imran Adam9-Oct-07 10:17 
GeneralRe: ...(object sender, System.EventArgs e) Pin
Scott Dorman9-Oct-07 10:27
professionalScott Dorman9-Oct-07 10:27 
QuestionDataGridView HeaderCell Painting Pin
cris34569-Oct-07 7:30
cris34569-Oct-07 7:30 
Questionsocket server disconnect Pin
gizmokaka9-Oct-07 7:25
gizmokaka9-Oct-07 7:25 
AnswerRe: socket server disconnect Pin
led mike9-Oct-07 7:54
led mike9-Oct-07 7:54 
GeneralRe: socket server disconnect Pin
gizmokaka9-Oct-07 8:09
gizmokaka9-Oct-07 8:09 
OK from the top:
I have a wireless RF network in which I have units running and sending messages.
the receiving end for the messages is a tunneling router with one end RF receiver and the other has
TCP/IP port, and this tunneling router translates from one network to TCP/IP packets then it forwards
the messages to a PC that's running socket server application that listens constantly on a specific port, and when data is received it handles it.

when I say the connection breaks I mean, I disconnect the tunneling router from the network,
and reconnect it.
when it's reconnected it's no longer able to receive messages.

the thing is, if I disconnect the network cable it simply breaks with a message box
saying something about lost messages and stops receiving messages, but the program doesn't crash.

but if I disconnect it's power, it breaks with an exception
"An existing connection was forcibly closed by the remote host"
and stops the program.
of course I am talking of debug mode.

hope it's clearer now.
if my reply will be late, I am sorry, I promise to reply to every comment
tonight or tomorrow.

thanks again for your help.
GeneralRe: socket server disconnect Pin
led mike9-Oct-07 8:29
led mike9-Oct-07 8:29 
Questionlabel text distorted in windows form Pin
sudhirkamath9-Oct-07 6:28
sudhirkamath9-Oct-07 6:28 
AnswerRe: label text distorted in windows form Pin
Juraj Borza9-Oct-07 9:44
Juraj Borza9-Oct-07 9:44 
GeneralRe: label text distorted in windows form Pin
Peter Vertes9-Oct-07 10:06
Peter Vertes9-Oct-07 10:06 
QuestionDatabase Backups Multi-Threading Pin
jikubhai9-Oct-07 5:37
jikubhai9-Oct-07 5:37 
AnswerRe: Database Backups Multi-Threading Pin
led mike9-Oct-07 6:00
led mike9-Oct-07 6:00 
GeneralRe: Database Backups Multi-Threading Pin
jikubhai9-Oct-07 19:15
jikubhai9-Oct-07 19:15 
GeneralRe: Database Backups Multi-Threading Pin
led mike10-Oct-07 4:40
led mike10-Oct-07 4:40 
QuestionSorting a ListView by more than one column Pin
scotlandc9-Oct-07 5:32
scotlandc9-Oct-07 5:32 
AnswerRe: Sorting a ListView by more than one column Pin
led mike9-Oct-07 6:05
led mike9-Oct-07 6:05 
AnswerRe: Sorting a ListView by more than one column Pin
Luc Pattyn9-Oct-07 6:10
sitebuilderLuc Pattyn9-Oct-07 6:10 
AnswerRe: Sorting a ListView by more than one column Pin
mav.northwind9-Oct-07 19:18
mav.northwind9-Oct-07 19:18 
Questionn00b file manipulation help.. Pin
Dio229-Oct-07 5:14
Dio229-Oct-07 5:14 
AnswerRe: n00b file manipulation help.. Pin
led mike9-Oct-07 6:06
led mike9-Oct-07 6:06 
GeneralRe: n00b file manipulation help.. Pin
Dio229-Oct-07 7:36
Dio229-Oct-07 7:36 
GeneralRe: n00b file manipulation help.. Pin
led mike9-Oct-07 7:50
led mike9-Oct-07 7:50 
Questionreflection + events Pin
john349-Oct-07 4:47
john349-Oct-07 4:47 

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.