Clay, One nice, large collection of simple demos is a compilation called the Synapse Cookbook. It includes sample code from the author Lukas, the project's wiki, and other sources.
You can find it here: http://www.dubaron.com/synapsecookbook/ You might also find the wiki helpful: http://synapse.ararat.cz/wiki/index.php?page=How-To Particularly this example (assuming TCP): http://synapse.ararat.cz/wiki/index.php?page=TcpWithSsl Which shows: "Typical TCP client scenario is:" - - - - - - - - var sock: TTCPBlockSocket; s: string; begin sock:= ttcpblocksocket.Create; try sock.Connect('your.server.com','80'); sock.SendString('yourdata' + CRLF); s := sock.recvstring(15000); //... finally sock.Free; end; end; For upgrade existing TCP client code for SSL/TLS mode you must: - - - - - - - - Other examples show how to set up simple servers... ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
