|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Big problem with plugin on 4D ServerI have a plugin that communicates with an external application via
TCP/IP on Windows. This plugin has to run on a 4D Server in a separate process. If the external App is not responding, 4D Server is blocked a few ticks and loses connection to the network. The client then get error -10001. How can I avoid that the server is blocked? Can I create a separate task or something else? TIA Stefan Hanshans ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ 4th Dimension 2004 - Design, Develop and Deliver Powerful Database Applications http://www.4D.com/2004 To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
Re: Big problem with plugin on 4D ServerOn 10-jun-2007, at 16:08, Stefan Hanshans wrote: > How can I avoid that the server is blocked? You could use a non-blocking socket. > Can I create a separate task or something else? Yes, another option is to handle the communication in a separate thread. HTH, - Rob Laveaux -------------------------------------------------------- Pluggers Software Thijssestraat 203 2521 ZG Den Haag The Netherlands Email: rob.laveaux@... Website: http://www.pluggers.nl -------------------------------------------------------- ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ 4th Dimension 2004 - Design, Develop and Deliver Powerful Database Applications http://www.4D.com/2004 To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
Re: Big problem with plugin on 4D ServerRob,
Am 11.06.2007 um 14:37 schrieb Rob Laveaux: > > On 10-jun-2007, at 16:08, Stefan Hanshans wrote: > >> How can I avoid that the server is blocked? > > You could use a non-blocking socket. > >> Can I create a separate task or something else? > > Yes, another option is to handle the communication in a separate > thread. We took the third option and are now using a separate client to talk to the external application. In Or case this is much better than executing the plugin on the server. Regards, Stefan Hanshans > > HTH, > > - Rob Laveaux > > -------------------------------------------------------- > Pluggers Software > Thijssestraat 203 > 2521 ZG Den Haag > The Netherlands > > Email: rob.laveaux@... > Website: http://www.pluggers.nl > > -------------------------------------------------------- > > > ********************************************************************** > 4D Plugins hosted by 4D, Inc. http://www.4D.com/ > 4th Dimension 2004 - Design, Develop and Deliver Powerful Database > Applications http://www.4D.com/2004 > To Unsubscribe: mailto:4D-Plugins-off@... > ********************************************************************** > * > ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ 4th Dimension 2004 - Design, Develop and Deliver Powerful Database Applications http://www.4D.com/2004 To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
| Free Forum Powered by Nabble | Forum Help |