Allows the communication with the port of a machine in ASCII format. Send a message in string formtat and returns the response as a string.

1 socket.out.print

<socket.out.print>
    <socket /> +
    <text /> +
</socket.out.print>
Example
Copy
<xsql-script name='socket'>
    <body>
        <set name='s'>
            <socket host='192.168.1.1' port='12000' />
        </set>

        <socket.out.print>
            <s />
            <string>hplj_3330<string.nl /></string>
        </socket.out.print>
    </body>
</xsql-script>