[twsocket] TWSocket and Skype, anyone done that?

2012-01-29 Thread robertoschler
If anybody has used TWSocket to communicate with Skype when sending/receiving Skype audio via a port, please share any tips or problems that you had when doing so. Thanks, Robert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailm

[twsocket] Help needed with TWSocket descendant with background thread message loop

2012-01-29 Thread robertoschler
I have a TWSocket descendant called TWSocketClientDeluxe. It does its work on a background thread. I have confirmed that this is the case by setting breakpoints on various events and inspecting the Threads window to make sure it is not on the main thread. It creates its own client thread and

Re: [twsocket] TSslHTTPCli: POST with XML data to get RESOURCE on REST

2012-01-29 Thread RTT
On 29-01-2012 16:19, François Piette wrote: Please provide the link to the API you are trying to implement. Just that part is not enough. https://content.etrade.com/etrade/estation/pdf/API_Technical_Documentation.pdf -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] TSslHTTPCli: POST with XML data to get RESOURCE on REST

2012-01-29 Thread RTT
On 29-01-2012 16:00, Iqbal Husain wrote: 3. Getting Account List. {REST resource HTTP Method GET} 4. Getting Account Balance. {REST resource HTTP Method GET} In all of my above example, I put the OAuth parameters in TSslHTTPCli.SendStream and it works fine. How's that possible?!

Re: [twsocket] TSslHTTPCli: POST with XML data to get RESOURCE on REST

2012-01-29 Thread François Piette
>HERE IS A LINK FOR API >SCREENSHOT FOR THE POST METHOD Please provide the link to the API you are trying to implement. Just that part is not enough. Have you seen this : http://tools.ietf.org/html/draft-ietf-oauth-v2-23 and this : http://tools.ietf.o

[twsocket] TSslHTTPCli: POST with XML data to get RESOURCE on REST

2012-01-29 Thread Iqbal Husain
Hi, I am working on an OAuth API. I achieved the following using TSslHTTPCli in combination with TSslContext: 1. Getting Token and Secret Token. 2. Getting Access Token and Access Secret Token. 3. Getting Account List. {REST resource HTTP Method GET} 4. Getting Account

Re: [twsocket] Does a call to TWSocket.Send have to be on thesame thread as the socket?

2012-01-29 Thread Arno Garrels
François Piette wrote: >> If I make a Send call to that socket, does it have to occur on the >> same thread as the worker thread? Or can I call it's Send method >> from another thread? I looked at the WSocket.pas code and I didn't >> see anything that looked like it wasn't thread-safe, > > Sendi

Re: [twsocket] Does a call to TWSocket.Send have to be on the samethread as the socket?

2012-01-29 Thread Arno Garrels
robertoschler wrote: > I have a TWSocket component with a background thread. I do use the > Thread.Attach method as I saw in the sample code to switch it to the > background thread I create, and I also set the socket's Multithreaded > property to true. I also double-checked with the Delphi thread

Re: [twsocket] Does a call to TWSocket.Send have to be on the same thread as the socket?

2012-01-29 Thread François Piette
> If I make a Send call to that socket, does it have to occur on the same thread as the worker thread? > Or can I call it's Send method from another thread? I looked at the WSocket.pas code and I didn't > see anything that looked like it wasn't thread-safe, Sending data pass thru the internal