<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>18 Aug 2016 20:19:00 Z</lastBuildDate><pubDate>18 Aug 2016 12:34:00 Z</pubDate><description>Hi,&#13;
&#13;
I develop a Socket Server working on a service.&#13;
It uses many threads to manage the differents connections of mobile devices.&#13;
&#13;
During the "crash" tests by sending a lot of strings simultaneously sometimes I reach a "dead end" where:&#13;
&#13;
- Socket Server is ON, because the SocketConnect on the mobile devices gives a positive result&#13;
- SocketRead and SocketWrite don't work on the Server&#13;
- service is interrupted&#13;
- the window, built for the setup of the service, crashes when I try to uninstall the service&#13;
- all the connections of devices hang on the PC&#13;
&#13;
I tried to develop the same Server on a Window, in which a thread works as the loop of the service above.&#13;
&#13;
The difference: IT NEVER REACH A "DEAD END"&#13;
&#13;
What is the reason of this difference?&#13;
Do the threads or socket work differently on service and on desktop?&#13;
&#13;
Thanks,&#13;
Dann</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service/read.awp</link><title>[WD20] Socket Server: Desktop VS Service</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59143/read.awp</comments><pubDate>18 Aug 2016 20:19:00 Z</pubDate><description>If you are going to consider message queues, you might want to look at ZeroMQ. Somebody did the C bindings for ZeroMQ and they w…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59143/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59143/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service/read.awp">[WD20] Socket Server: Desktop VS Service</source><title>Re: [WD20] Socket Server: Desktop VS Service</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59142/read.awp</comments><pubDate>18 Aug 2016 17:46:00 Z</pubDate><description>Hi,&#13;
&#13;
Just informational, we have implemented a MQTT ( http://mqtt.org/ , its a standard) between Android (WinDev Mobile) and a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59142/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59142/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service/read.awp">[WD20] Socket Server: Desktop VS Service</source><title>Re: [WD20] Socket Server: Desktop VS Service</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59139/read.awp</comments><pubDate>18 Aug 2016 13:44:00 Z</pubDate><description>Hi.&#13;
I have to write something similar in near future for managing handheld wifi radio frequency devices with barcode scanner ta…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59139/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59139/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service/read.awp">[WD20] Socket Server: Desktop VS Service</source><title>Re: [WD20] Socket Server: Desktop VS Service</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59138/read.awp</comments><pubDate>18 Aug 2016 13:20:00 Z</pubDate><description>Hi Dann,&#13;
&#13;
EVERYTHING works differently (or can work differently) in a service, because the user under which the service run ha…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59138/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service-59138/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59136-wd20-socket-server-desktop-service/read.awp">[WD20] Socket Server: Desktop VS Service</source><title>Re: [WD20] Socket Server: Desktop VS Service</title></item></channel></rss>
