Click here to Skip to main content
15,920,956 members
Home / Discussions / C#
   

C#

 
AnswerRe: covert string to particular pattern Pin
Michael Sync12-Aug-07 18:05
Michael Sync12-Aug-07 18:05 
QuestionCreating a executable for a custom action Pin
steve_rm12-Aug-07 12:56
steve_rm12-Aug-07 12:56 
AnswerRe: Creating a executable for a custom action Pin
Jimmanuel13-Aug-07 7:46
Jimmanuel13-Aug-07 7:46 
Questionporting c code and crc32 Pin
dfn12-Aug-07 9:42
dfn12-Aug-07 9:42 
AnswerRe: porting c code and crc32 Pin
Luc Pattyn12-Aug-07 10:03
sitebuilderLuc Pattyn12-Aug-07 10:03 
AnswerRe: porting c code and crc32 Pin
Ravi Bhavnani12-Aug-07 12:13
professionalRavi Bhavnani12-Aug-07 12:13 
QuestionHow to delete message from Sim card Pin
Babubhai0712-Aug-07 9:29
Babubhai0712-Aug-07 9:29 
Questionreconnecting a client to socket server [modified] Pin
gizmokaka12-Aug-07 7:58
gizmokaka12-Aug-07 7:58 
Hello to all,

I am using a socket server in c# I have created based on one from the code project.

it's an asynchronous server, creating a worker thread for client.

till now only tested with one client connected.

my problem is, when I disconnect a client and the reconnect, I get an exception of type

"An existing connection was forcibly closed by the remote host"

I need my application to operate in a manner that when the client reconnects, it's still

communicating with the server on same "IPEndPoint" and keep receiving messages from it,

as if no disconnection occurred.

P.S
When reconnecting the object still holds the same handle and port but ip is changed to
0.0.0.0
when in debug I am breaking on the spot where i get the exception.
The program stands there and values are LocalEndPoint = {192.168.2.100:5001}
on that breakpoint I dis and reconnect the device, and on the same break I get these
new values LocalEndPoint = {0.0.0.0:5001};

Please help me!!!!!!!!!!!


-- modified at 14:04 Sunday 12th August, 2007
Question.EXE file association Pin
Harkamal Singh12-Aug-07 6:55
Harkamal Singh12-Aug-07 6:55 
AnswerRe: .EXE file association Pin
Luc Pattyn12-Aug-07 7:28
sitebuilderLuc Pattyn12-Aug-07 7:28 
GeneralRe: .EXE file association Pin
Harkamal Singh12-Aug-07 21:29
Harkamal Singh12-Aug-07 21:29 
QuestionStringTokenizer (Urgent) [modified] Pin
ksaw12312-Aug-07 5:21
ksaw12312-Aug-07 5:21 
AnswerRe: StringTokenizer (Urgent) Pin
Luc Pattyn12-Aug-07 5:41
sitebuilderLuc Pattyn12-Aug-07 5:41 
GeneralRe: StringTokenizer (Urgent) [modified] Pin
ksaw12312-Aug-07 5:50
ksaw12312-Aug-07 5:50 
GeneralRe: StringTokenizer (Urgent) Pin
Luc Pattyn12-Aug-07 6:16
sitebuilderLuc Pattyn12-Aug-07 6:16 
QuestionHi Fonts Problem Pin
CodeVarma12-Aug-07 5:11
CodeVarma12-Aug-07 5:11 
AnswerRe: Hi Fonts Problem Pin
leppie12-Aug-07 23:42
leppie12-Aug-07 23:42 
Questionexcel to c sharp arrays Pin
project c12-Aug-07 2:45
project c12-Aug-07 2:45 
AnswerRe: excel to c sharp arrays Pin
Paul Conrad12-Aug-07 6:22
professionalPaul Conrad12-Aug-07 6:22 
QuestionRe: excel to c sharp arrays Pin
project c14-Aug-07 4:37
project c14-Aug-07 4:37 
AnswerRe: excel to c sharp arrays Pin
project c14-Aug-07 5:09
project c14-Aug-07 5:09 
QuestionWindows form launch order? Pin
ddabble12-Aug-07 1:08
ddabble12-Aug-07 1:08 
AnswerRe: Windows form launch order? Pin
Giorgi Dalakishvili12-Aug-07 1:20
mentorGiorgi Dalakishvili12-Aug-07 1:20 
GeneralRe: Windows form launch order? Pin
ddabble12-Aug-07 2:00
ddabble12-Aug-07 2:00 
GeneralRe: Windows form launch order? Pin
Michael Sync12-Aug-07 2:37
Michael Sync12-Aug-07 2:37 

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.