<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Dec 2019 12:00:12 Z</lastBuildDate><pubDate>8 Dec 2019 15:32:32 Z</pubDate><description>Hi all.&#13;
&#13;
I need to start a Socket connection on my server to connect to an external company.  However, the function SocketConnect is not available in Stored Procedures.&#13;
&#13;
Basically what I need to do is:&#13;
&#13;
My customer app connects to my Server and updates a file in C/S.  Simple enough.&#13;
This would trigger a stored procedure on my server which takes those details and opens up a Socket conversation with one of many companys to check availablity etc.&#13;
They then reply to my server with an answer via the socket.&#13;
I reply back to my user.&#13;
&#13;
The ideal way would be to directly connect to the Client's databases, but not all will allow that, so Socket conversations seem the best way.  &#13;
&#13;
Problem is that my server cannot open a Socket as SocketConnect is not available in the Stored procedures on my server.&#13;
&#13;
The only alternative is for a stored procedure to write the required details to a HF file and then have a separate exe running on the server which is constantly reading the file and doing the socket conversation separatley.  This however is a very messy way to have to do this.&#13;
&#13;
Any ideas would be appreciated.&#13;
&#13;
Simon</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures/read.awp</link><title>How to start Socket connections in stored procedures</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>sdbxox</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67494/read.awp</comments><pubDate>13 Dec 2019 12:00:12 Z</pubDate><description>Hi Ben&#13;
&#13;
Thats what I am begining to think.  It seems that the only way to do it is as you suggest, to load a temporary file an…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67494/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67494/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures/read.awp">How to start Socket connections in stored procedures</source><title>Re: How to start Socket connections in stored procedures</title></item><item><author>ben</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67487/read.awp</comments><pubDate>11 Dec 2019 07:42:24 Z</pubDate><description>Hi&#13;
&#13;
An external process that does the connection and transfer is the only real way to do this. &#13;
&#13;
You do not want a socket co…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67487/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures-67487/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67478-how-start-socket-connections-stored-procedures/read.awp">How to start Socket connections in stored procedures</source><title>Re: How to start Socket connections in stored procedures</title></item></channel></rss>
