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

C#

 
QuestionHow to save un Serialize Component Pin
Anubhava Dimri1-May-11 22:43
Anubhava Dimri1-May-11 22:43 
AnswerRe: How to save un Serialize Component Pin
Richard MacCutchan1-May-11 23:14
mveRichard MacCutchan1-May-11 23:14 
AnswerRe: How to save un Serialize Component Pin
BobJanova3-May-11 1:28
BobJanova3-May-11 1:28 
GeneralRe: How to save un Serialize Component Pin
Anubhava Dimri3-May-11 18:09
Anubhava Dimri3-May-11 18:09 
GeneralRe: How to save un Serialize Component Pin
BobJanova4-May-11 7:51
BobJanova4-May-11 7:51 
QuestionEntire Url Redirect/Encryption Pin
rakesh46571-May-11 18:20
rakesh46571-May-11 18:20 
AnswerRe: Entire Url Redirect/Encryption Pin
Pete O'Hanlon1-May-11 19:34
mvePete O'Hanlon1-May-11 19:34 
QuestionSocket is suddenly closed Pin
Haim Nachum1-May-11 11:52
Haim Nachum1-May-11 11:52 
Hi.
I have a chat site (http://www.pitput.com) that connects user via socket connections.
I have in the client side a flash object that opens a connection to a port in my server.
In the server i have a service that is listening to that port in an async matter.

All is working fine except when i talk to someone after an unknown period of time(about couple of minutes) the server is closing my connection and i get an error in the server :
" A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".

I dont know how exactly the tcp socket works. does it checking for "live" connection every couple of seconds? how does it decide when to close the connection? Im pretty sure that the close operation is not coming from the client side.

Thanks.
AnswerRe: Socket is suddenly closed Pin
Peter_in_27801-May-11 13:27
professionalPeter_in_27801-May-11 13:27 
AnswerRe: Socket is suddenly closed Pin
jschell2-May-11 7:47
jschell2-May-11 7:47 
AnswerRe: Socket is suddenly closed Pin
BobJanova3-May-11 1:31
BobJanova3-May-11 1:31 
GeneralRe: Socket is suddenly closed Pin
jschell3-May-11 8:29
jschell3-May-11 8:29 
GeneralRe: Socket is suddenly closed Pin
BobJanova3-May-11 9:16
BobJanova3-May-11 9:16 
GeneralRe: Socket is suddenly closed Pin
jschell4-May-11 8:13
jschell4-May-11 8:13 
GeneralRe: Socket is suddenly closed Pin
toploader3-May-11 10:17
toploader3-May-11 10:17 
GeneralRe: Socket is suddenly closed Pin
BobJanova3-May-11 10:36
BobJanova3-May-11 10:36 
GeneralRe: Socket is suddenly closed Pin
toploader3-May-11 11:59
toploader3-May-11 11:59 
QuestionFile being used by another process? I don't think so! Pin
SimpleData1-May-11 8:52
SimpleData1-May-11 8:52 
AnswerRe: File being used by another process? I don't think so! Pin
Luc Pattyn1-May-11 9:04
sitebuilderLuc Pattyn1-May-11 9:04 
GeneralRe: File being used by another process? I don't think so! Pin
SimpleData1-May-11 9:10
SimpleData1-May-11 9:10 
GeneralRe: File being used by another process? I don't think so! Pin
DaveyM691-May-11 9:16
professionalDaveyM691-May-11 9:16 
GeneralRe: File being used by another process? I don't think so! Pin
SimpleData1-May-11 9:22
SimpleData1-May-11 9:22 
AnswerRe: File being used by another process? I don't think so! Pin
Luc Pattyn1-May-11 9:21
sitebuilderLuc Pattyn1-May-11 9:21 
GeneralRe: File being used by another process? I don't think so! Pin
SimpleData1-May-11 9:25
SimpleData1-May-11 9:25 
AnswerRe: File being used by another process? I don't think so! Pin
Luc Pattyn1-May-11 9:52
sitebuilderLuc Pattyn1-May-11 9:52 

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.