Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a client socket c# program and
once it gets connected it will get data to send from queue,
then i have module to do a send and receive transaction.
after this routine the program will look back to the data queue
to process/send again. with this scenario, my client socket should
not be close, meaning it should stay connected from the start
it gets connected to host and will repeatedly looking for queue data
to process.

the client connection will only be closed if it is manually disconnected through a click or command available for user.

the problem is client socket gets hanged once the queue data is empty for some minutes of no transactions.
Best regards,
yomikorr
Posted
Updated 24-Oct-11 16:23pm
v2
Comments
Sergey Alexandrovich Kryukov 24-Oct-11 21:32pm    
Hope you will, if you ask your question, explain the problem, etc... :-)
--SA
yomikorr 24-Oct-11 22:08pm    
i have a client socket c# program and
once it gets connected it will get data to send from queue,
then i have module to do a send and receive transaction.
after this routine the program will look back to the data queue
to process/send again. with this scenario, my client socket should
not be close, meaning it should stay connected from the start
it gets connected to host and will repeatedly looking for queue data
to process.

the client connection will only be closed if it is manually disconnected through a click or command available for user.

the problem is client socket gets hanged once the queue data is empty for some minutes of no transactions.

how can i make this solve, please help me sir SA :)

thanks and sorry for no detailed description...
the and no

1 solution

Take a look at my article here : WCF Killer[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900