Questions tagged [ararat-synapse]

45 questions
9
votes
1 answer

How to establish a secure connection by using Synapse?

I'm testing Synapse and want to know how can I establish a secure connection. I noticed it supports SSL, but I'm not sure whether it suits my needs. I don't have a certificate from CA. I just want to encrypt all data between my server program and…
trudger
  • 917
  • 2
  • 12
  • 20
7
votes
3 answers

Delphi + Synapse: How to check if I am still connected

I am using TTCPBlockSocket for a TCP/IP Application . The problem is that I can't determine when the connection is lost. GetLastError returns 0 Read returns 0 But I encounter these values eaven if the application is connected so I can get it how can…
opc0de
  • 11,557
  • 14
  • 94
  • 187
5
votes
1 answer

How to send HTTP data and get response with Synapse (Delphi)

I think the title was clear enough. I want to know how to send HTTP POST request with parameters/arguments and receive HTML response back - using Synapse library for Delphi.
TreantBG
  • 1,192
  • 6
  • 25
  • 44
5
votes
4 answers

IMAP + TLS/SSL with Synapse?

I'm currently trying to add to a software the capability to list unread emails in the user's inbox using IMAP. After having no success at all using Indy10, I discovered Synapse which seemed better for what I needed, but I can't find a way to get it…
azera
  • 231
  • 3
  • 4
4
votes
2 answers

Delphi 2009 and Synapse - tested and ready for Unicode support?

Is Synapse ready for a Delphi 2009 production applications? Their website doesn't look like it's been updated in a while: http://www.ararat.cz/synapse/doku.php Is the project dead?
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
4
votes
2 answers

How to create https client with synapse?

I need a https client used with synapse. Do you have any demo about it? Thank a lot.
flashvnn
  • 273
  • 6
  • 15
4
votes
2 answers

How to send a e-mail for more than one recipient at once, using Delphi and Synapse?

Please, I am trying to solve this "problem" for more than 12 hours now... and almost getting crazy! I think is impossible send the same e-mail for more than a recipient (destination) at once, using Delphi and Synapse (http://synapse.ararat.cz).…
Guybrush
  • 1,575
  • 2
  • 27
  • 51
4
votes
2 answers

Synapse Delphi HTTPS SSL GET Request

Only a GET request to a HTTP url works. If i try to request a HTTPS url then it doesn't return anything. I pretty much tried everything. Appreciate any help. Here's my code: SynHttp.Sock.CreateWithSSL(TSSLOpenSSL); SynHttp.Sock.SSLDoConnect; …
user1224096
  • 111
  • 1
  • 4
  • 8
3
votes
2 answers

Delphi synapse UDP client/server

I need to create server and client programs with synapse using UDP protocol. I have created the server program to listen to any coming messages like this procedure TForm1.Timer1Timer(Sender: TObject); var resive:string; begin InitSocket; …
TreantBG
  • 1,192
  • 6
  • 25
  • 44
3
votes
2 answers

Delphi + Synapse: How to check the size of the response with TTCPBlockSocket

I have finally got my Delphi application to send data using direct sockets with the Synapse library through HTTPS. However, I am having trouble determining the size of the data being returned to me. Currently, I have the following code: Socket …
SgtPooki
  • 11,012
  • 5
  • 37
  • 46
3
votes
1 answer

Lazarus/FreePascal, Synapse send file to TCPBlockSocket

I tried to make an analogue nc (netcat) tool. Open file and send it in to TCP socket. client (sender) side procedure TForm1.SpeedButton3Click(Sender: TObject); var Client:TTCPBlockSocket; FS: TFileStream; begin Client:=TTCPBlockSocket.Create; …
Anton Shevtsov
  • 1,279
  • 4
  • 16
  • 34
3
votes
1 answer

Delphi - Download a File with Progress using Synapse

I have been using Synapse for some time now, to send e-mails mainly. Today I am creating a simple installer, and trying to download the application exe file through HTTP. The file is about 9 MB in size, so I´d like to add a progress status to user,…
Guybrush
  • 1,575
  • 2
  • 27
  • 51
3
votes
1 answer

How to get the number of client and the connect/disconnect events in Synapse ?

I'm trying to use Synapse(TTCPBlockSocket) instead of Indy,but through the official help and demo i can't understand how to get the number of TCP client,and i didn't found the connect/disconnect events about Synapse,please give me some hint or…
PFeng
  • 101
  • 1
  • 13
2
votes
2 answers

UDP Proxy implementation

I am trying to build a simple TCP and UDP proxies. No problem with the TCP proxy, however the UDP is a little more complex to handle. The classic proxy scenario would be like this. Listen for incoming packets from clients When packet is received…
Runner
  • 6,073
  • 26
  • 38
2
votes
1 answer

Uploading files with Synapse

I need to upload a file to the site rghost.net: procedure TForm1.Button1Click(Sender: TObject); var HTTP: THTTPSendEx; Data: TMultipartFormDataStream; sHTML: string; //Received HTML code from web upload_url, fireld_name: string; begin …
Muhammad
  • 43
  • 1
  • 6
1
2 3