Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Is it okay to change parameters while running?
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted July 17, 2003 1:22 PM

Are there any parameters of the Tcp object that cannot be changed while the socket is open and functioning?

Can I change the value of ReceiveTimeout and SendTimeout on the fly? How about AutoReceive?

May I change the delegates for EndReceive and EndSend on the fly?

If the answer is yes, is there a synchronization object I must lock to do this?

Are my questions starting to come more and more out of left field? No, wait, don't answer that one :-)

Christopher
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 17, 2003 1:41 PM

ReceiveTimeout, SendTimeout and AutoReceive are not "cached", so any change would impact any ongoing operation.

You should be able to change the delegates for EndReceive and EndSend on the fly, but I have never tried it so I can't state that with authority.

There is no synchronization object that you must lock to ( that I know of )

Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX