Re: [twsocket] Body not send on https post

2017-08-10 Thread Jarek Karciarz
Witam, And after putting the content to the send steam did you call the PutAsync () method of the component? Pozdrawiam Jarek Karciarz -- Od: Xavier Mor-Mur Data: 10 sierpnia 2017 21:20:58 Do: ICS support mailing Temat: [twsocket]

Re: [twsocket] Body not send on https post

2017-08-10 Thread Jarek Karciarz
Witam, Diod you try to set asPost.c_str () or ws.c_str () instead of putting just the address of the object? Pozdrawiam Jarek Karciarz -- Od: Xavier Mor-Mur Data: 10 sierpnia 2017 21:20:58 Do: ICS support mailing Temat: [twsocket]

[twsocket] Body not send on https post

2017-08-10 Thread Xavier Mor-Mur
Hello, I still having problems trying to retrieve data from https server using POST. I get error "Body is empty". I can't find where is the error. I tried use this two ways: AnsiString asPost; asPost = PostMemo->Text; SslHttpCli1->SendStream->WriteBuffer(, asPost.Length()); WideString ws;

Re: [twsocket] Role of Error in Socket OnConnectedEvents

2017-08-10 Thread Angus Robertson - Magenta Systems Ltd
> In the ICS Socket components's OnSessionConnected / > OnClientConnect events you are passing Error parameter. When will > this get a value ?If the OnConnected events are triggered does it > mean connection is active or is it only if Error=0 ? OnSessionConnected or OnClientConnect should

[twsocket] Role of Error in Socket OnConnectedEvents

2017-08-10 Thread Allan Fernandes
Hi, In the ICS Socket components's OnSessionConnected / OnClientConnect events you are passing Error parameter. When will this get a value ?If the OnConnected events are triggered does it mean connection is active or is it only if Error=0 ? RegardsAllan Fernandes -- To unsubscribe or change