Click here to Skip to main content
15,886,664 members
Home / Discussions / C#
   

C#

 
AnswerRe: parsing a string Pin
Darryl Borden24-Jan-06 4:46
Darryl Borden24-Jan-06 4:46 
AnswerRe: parsing a string Pin
LighthouseJ24-Jan-06 9:14
LighthouseJ24-Jan-06 9:14 
QuestionWhere is always show selection in Listviews? Pin
ByStorm Software24-Jan-06 4:11
ByStorm Software24-Jan-06 4:11 
AnswerRe: Where is always show selection in Listviews? Pin
Joel Lucsy24-Jan-06 4:25
Joel Lucsy24-Jan-06 4:25 
GeneralRe: Where is always show selection in Listviews? Pin
ByStorm Software24-Jan-06 4:45
ByStorm Software24-Jan-06 4:45 
QuestionTitleBar Pin
Sabry190524-Jan-06 3:59
Sabry190524-Jan-06 3:59 
AnswerRe: TitleBar Pin
tarasn24-Jan-06 5:26
tarasn24-Jan-06 5:26 
QuestionSocket Does'nt Accept New Connections After some times Pin
Zeeshan Gulzar24-Jan-06 3:41
Zeeshan Gulzar24-Jan-06 3:41 
I am using C#.NET Framework 1.1 and i made a windows service which is running in background. This service opened a socket (Listener) on a specified port at startup. Client connected to this port and send a message to listener and close the socket again client connect after some time maybe after 5 minutes or above and send another message to listener and close the socket. (Socket is Accpeted, Send & Receive data Asynchronously)

This service work fine for a period of time. But after that

Question: Socket does not accept new connection while socket is in listening state.
Whenever i want to connect to this socket (either by Telnet or by my client on lan or wan or even by local-loop) the exception is occured.

Error Code: WSAECONNREFUSED 10061
Description: No connection could be made because the target computer actively refused it.


After restart the service, socket works fine again for some period of time.

Is there any solution.
Thanks in advance

Zeeshan
AnswerRe: Socket Does'nt Accept New Connections After some times Pin
Le centriste24-Jan-06 3:56
Le centriste24-Jan-06 3:56 
QuestionFTPWebRequest with EnableSsl Pin
Sweetrpea24-Jan-06 3:30
Sweetrpea24-Jan-06 3:30 
QuestionconfigurationManager Pin
fmardani24-Jan-06 3:16
fmardani24-Jan-06 3:16 
AnswerRe: configurationManager Pin
Colin Angus Mackay24-Jan-06 4:53
Colin Angus Mackay24-Jan-06 4:53 
QuestionProblem in Altering a dbf table , table corrupts Pin
rudra08324-Jan-06 2:50
rudra08324-Jan-06 2:50 
AnswerRe: Problem in Altering a dbf table , table corrupts Pin
esjq24-Jan-06 3:25
esjq24-Jan-06 3:25 
QuestionXML Treeview Pin
PHDENG8124-Jan-06 2:44
PHDENG8124-Jan-06 2:44 
AnswerRe: XML Treeview Pin
lmoelleb24-Jan-06 4:32
lmoelleb24-Jan-06 4:32 
AnswerRe: XML Treeview Pin
tarasn24-Jan-06 5:32
tarasn24-Jan-06 5:32 
Questionappsetting in .net 2.0 Pin
fmardani24-Jan-06 2:40
fmardani24-Jan-06 2:40 
AnswerRe: appsetting in .net 2.0 Pin
Le centriste24-Jan-06 3:59
Le centriste24-Jan-06 3:59 
Questionzooming an image in a picturebox Pin
NewbieDude24-Jan-06 1:39
NewbieDude24-Jan-06 1:39 
QuestionRemoving last line in a file Pin
rickell24-Jan-06 1:07
rickell24-Jan-06 1:07 
AnswerRe: Removing last line in a file Pin
Le centriste24-Jan-06 4:06
Le centriste24-Jan-06 4:06 
GeneralRe: Removing last line in a file Pin
rickell24-Jan-06 7:38
rickell24-Jan-06 7:38 
AnswerRe: Removing last line in a file Pin
Le centriste24-Jan-06 7:44
Le centriste24-Jan-06 7:44 
GeneralRe: Removing last line in a file Pin
rickell24-Jan-06 9:36
rickell24-Jan-06 9:36 

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.