Click here to Skip to main content
15,916,318 members
Home / Discussions / C#
   

C#

 
GeneralRe: Attributes and there constructors... Pin
Spacix One24-Jun-08 12:33
Spacix One24-Jun-08 12:33 
GeneralRe: Attributes and there constructors... Pin
Paw Jershauge25-Jun-08 11:38
Paw Jershauge25-Jun-08 11:38 
QuestionHow to read wav file from a xml file in C# Pin
Member 470467524-Jun-08 11:09
Member 470467524-Jun-08 11:09 
AnswerRe: How to read wav file from a xml file in C# Pin
Spacix One24-Jun-08 11:27
Spacix One24-Jun-08 11:27 
AnswerRe: How to read wav file from a xml file in C# Pin
Gurpreet11124-Jun-08 12:10
Gurpreet11124-Jun-08 12:10 
QuestionWebBrowser.Print Pin
TiredProgrammer24-Jun-08 10:20
TiredProgrammer24-Jun-08 10:20 
AnswerRe: WebBrowser.Print Pin
Spacix One24-Jun-08 11:26
Spacix One24-Jun-08 11:26 
QuestionAcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 9:27
professionalAnthony Mushrow24-Jun-08 9:27 
So I've got a client server application going (again) and I've run into a little problem.

So far the server side sits idly waiting for a connection, eventualy it will receive a connection from the client. After a period of time T the server will close the connection with the client if there is no activity (incase for some reason the client didn't disconnect as it should).

After closing the connection it waits again for a new connection. But, if the client that was previously connected tries to send data, then the server side picks this up as an incomming connection and trys to accept it, where I then get the exception becuase that line was already closed. Sigh | :sigh:

So what am i to do?

My current favourite word is: I'm starting to run out of fav. words!
-SK Genius

Game Programming articles start -here[^]-

AnswerRe: AcceptSocket and ObjectDisposedException Pin
led mike24-Jun-08 9:38
led mike24-Jun-08 9:38 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 10:01
professionalAnthony Mushrow24-Jun-08 10:01 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
led mike24-Jun-08 10:39
led mike24-Jun-08 10:39 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 10:43
professionalAnthony Mushrow24-Jun-08 10:43 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
led mike24-Jun-08 11:43
led mike24-Jun-08 11:43 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 11:49
professionalAnthony Mushrow24-Jun-08 11:49 
AnswerRe: AcceptSocket and ObjectDisposedException Pin
Harvey Saayman24-Jun-08 10:07
Harvey Saayman24-Jun-08 10:07 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 10:14
professionalAnthony Mushrow24-Jun-08 10:14 
GeneralRe: AcceptSocket and ObjectDisposedException Pin
Harvey Saayman24-Jun-08 10:17
Harvey Saayman24-Jun-08 10:17 
AnswerRe: AcceptSocket and ObjectDisposedException Pin
Harvey Saayman24-Jun-08 10:10
Harvey Saayman24-Jun-08 10:10 
AnswerRe: AcceptSocket and ObjectDisposedException Pin
Anthony Mushrow24-Jun-08 10:41
professionalAnthony Mushrow24-Jun-08 10:41 
Answer*slaps self across face* Pin
Anthony Mushrow25-Jun-08 2:41
professionalAnthony Mushrow25-Jun-08 2:41 
QuestionC# and Services/Event Viewer Pin
SpankyNuts24-Jun-08 9:11
SpankyNuts24-Jun-08 9:11 
AnswerRe: C# and Services/Event Viewer Pin
led mike24-Jun-08 9:33
led mike24-Jun-08 9:33 
AnswerRe: C# and Services/Event Viewer Pin
Ravi Bhavnani24-Jun-08 14:26
professionalRavi Bhavnani24-Jun-08 14:26 
GeneralC# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 8:49
sponsorJudah Gabriel Himango24-Jun-08 8:49 
GeneralRe: C# locks and atomicity Pin
Ennis Ray Lynch, Jr.24-Jun-08 10:09
Ennis Ray Lynch, Jr.24-Jun-08 10:09 

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.