You are best off asking at http://stackoverflow.com/ instead.
On Sat, Dec 22, 2012 at 1:49 PM, Paul paul.blommae...@telenet.be wrote:
Hi all,
I want to make an application to that can receive streaming camera images
using udp hole punching.
I found this link the net, but I have no clue of
Because your question/topic is much broader than what is usually discussed
in these simple mailing lists, mostly used for discussion/issues related to
ICS itself rather than asking for extensive help in making an application.
At Stack however you'll reach a much larger audience who often post
I think when OnLocationChange triggers, Location already has the new URL.
On Fri, Dec 21, 2012 at 5:06 AM, Albert Wiersch
supp...@htmlvalidator.comwrote:
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On
Behalf Of brian
Maybe skip grabbing the cookies when request code result is 302 (redirect
etc)
On Fri, Dec 21, 2012 at 1:53 PM, brian - hikarito...@gmail.com wrote:
I think when OnLocationChange triggers, Location already has the new URL.
On Fri, Dec 21, 2012 at 5:06 AM, Albert Wiersch supp
You can use the OnLocationChange event to know when the URL changed.
On Thu, Dec 20, 2012 at 4:10 PM, Albert Wiersch
supp...@htmlvalidator.comwrote:
How can I know what URL was last requested?
The URL property seems to always be the original URL, so this doesn't
work
in the case of a
:
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On
Behalf Of brian -
You can use the OnLocationChange event to know when the URL changed.
That seems to let me know when the 'Location' property changes (like in
response
*for Google.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Hi, posted this a while ago, Feb 21st, 2011, and it had no response.
Thought I'd bring it up again, as maybe I'm missing something and this is
possible some other easier way? (though it doesn't seem like from looking
at the code, there's nothing to allow custom headers besides the triggered
event)
RqType: THttpRequest;
this holds the request type, such as get, post, put, head etc.
On Wed, Dec 12, 2012 at 3:12 PM, Bruno Mannina bmann...@free.fr wrote:
Dear ICS User,
Is exist a way to know inside the OnRequestDone if the command done was a
POST or a GET ?
Thanks,
Bruno
--
To
Yes, including it in the project source is enough, but maybe this should be
clearly noted somewhere for other devs, as by default you'd think just
setting the Options should be enough.
On Mon, Dec 10, 2012 at 7:48 PM, Maurizio Lotauro
lotauro.mauri...@dnet.itwrote:
Scrive brian - hikarito
I see. Thanks for the explanation and the workaround :)
On Mon, Dec 10, 2012 at 7:17 AM, Arno Garrels arno.garr...@gmx.de wrote:
brian - wrote:
After RequestDone with THttpCli, if there is an -unhandled- exception
before the code is out of ReqDone stack, RequestDone is triggered
again
This seems to be finally fixed in the latest Daily/SVN, the data received
is transparently uncompressed etc.
HOWEVER, there is a small issue, which isn't readily apparent unless you
check received data size etc:
If you don't include OverbyteIcsHttpCCodZLib anywhere in your app, it won't
be used
Hi, been experiencing something kinda odd, not sure if this is on purpose
or a bug somewhere:
After RequestDone with THttpCli, if there is an -unhandled- exception
before the code is out of ReqDone stack, RequestDone is triggered again.
Try the following code:
httpcli1.RcvdStream :=
Hmm it may be an issue with the site then; the XML is part of an API used
by some applications, I haven't see others have an issue with this however.
From my testing:
- Using only gzip: the XML is not encoded but ICS think it is, therefore
trying to decode non-encoded data, resulting in an
Please add the following modification to OverbyteIcsHttpCCodZLib, I was sad
to see it's not yet included in the last V8 : ( I reported this long ago )
class function THttpCCodzlib.GetCoding: String;
begin
Result := 'gzip, deflate';
end;
The original code only has gzip, which fails to
Followed the notes, now I get a different error when trying to install any
of the 3 design-time packages:
http://img21.imageshack.us/img21/8727/201204120943.png
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
At first yes, then I tried to uninstall the old VCL and delete all the
older files first, then proceeded with the fmx beta. Used the -nocache
option as well.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Are there any special steps to follow for installing the beta ICS package
(from svn) for Firemonkey? Tried to install it separately, and it gives an
error
The procedure entry point @Overbyteicslibrary@initialization$qqrv could
not be located in the dynamic link library
OverbyteIcsDXe2Run.bpl
Ive had almost all versions from 1 to XE2, except 6 and those .net (8?).
Ported all my apps to XE2 and not looking back. Mostly looking forward to
Firemonkey support.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
extra
characters in the actual transmitted message - so the counter at the
beginning of the data did not match the actual data - and therefore there
was still stuff to receive (still in the buffer) so it hung the client up.
Regards
Brian
On Wed, Feb 1, 2012 at 4:20 AM, mfisc...@bfe.tv wrote:
Hi,
i
before each STOR
On Wed, Feb 1, 2012 at 6:27 AM, Info2004 info2...@asamicros.com wrote:
On 31/01/2012 19:05, Brian Culverwell wrote:
probably your backend ftp server has been changed to 'binary' type - and
when receiving your request to STOR the .csv file - it is issuing a type A
to change
of
anti-virus or something but it is just the SITE EXEC that does not work -
everything else is fine.
Regards
Brian
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Thanks Angus and Francois - will try both your recommendations!
Brian
On Tue, Jan 31, 2012 at 6:42 AM, François Piette
francois.pie...@skynet.bewrote:
I have a client ftp component written using ICS and a server component
also
using ICS - everything
was grand up to about 2 weeks ago, when
Hi, I'm trying to convert a project to 64 bit with XE2, and encounter this
issue with SSL, I get an exception:
exception class EIcsLibeayException with message Unable to load
LIBEAY32.DLL, %1 is not a valid win32 application
Is there any workaround for this?
--
To unsubscribe or change your
v0.33 up with xAuth/SSL support.
On Mon, Feb 28, 2011 at 4:02 PM, brian - hikarito...@gmail.com wrote:
http://dev.twitter.com/pages/auth_overview
http://dev.twitter.com/pages/auth_overviewThere's xAuth to skip the PIN
step, but requires the twitter user/pass.
Also I made a method in my lib
There's already a method through httpcli, but PIN approach should always be
encouraged.
v0.32 up
On Mon, Feb 28, 2011 at 10:32 AM, Anton S. an...@rambler.ru wrote:
TWebbrowser? ShellExec?? Chromium?? Why don't you use ICS HTTPCli for
authorizing? You may even display an original page with
http://dev.twitter.com/pages/auth_overview
http://dev.twitter.com/pages/auth_overviewThere's xAuth to skip the PIN
step, but requires the twitter user/pass.
Also I made a method in my lib to do almost like xAuth, simulating a browser
login, catching the cookies and posting the form etc to
Updated the library and uploaded to my site to reflect this modification.
Sadly though, OverbyteIcsHttpCCodZLib is still problematic, I have to keep
using the modified version to make it work.
On Sun, Feb 27, 2011 at 7:56 AM, Francois PIETTE
francois.pie...@skynet.bewrote:
I will modify the
Don't see an attached message in your reply :( but anyway, lurking through
the archives some time ago I found someone submitted a modification to
apparently fix this problem, but that still didnt work for me.
Changing this in OverbyteIcsHttpCCodZLib did the trick though:
55: Result := 'gzip,
:
On 27-02-2011 16:01, brian - wrote:
Simply added deflate to the result. Without that, I don't get any data
back.
Juts tested your component here, without that modification, and works just
fine. What exactly happen in your case. What data you don't get?
--
To unsubscribe or change your settings
Ahh thanks, should have looked there first :) replaced it now.
Download link should work now.
On Sun, Feb 27, 2011 at 6:45 PM, RTT p...@sapo.pt wrote:
You can remove the b64ASM.pas dependency using the ICS equivalent
//b64asm.Base64Encode(HMAC_SHA1_EX(SignBase,signkey));
, and add XAuth
support instead.
On Sun, Feb 27, 2011 at 7:25 PM, RTT p...@sapo.pt wrote:
On 27-02-2011 17:18, brian - wrote:
use an alternate method to wont require the user to visit the twitter site
to get the PIN code, the app will simulate a browser login, catch the
cookies and proceed to auth
:
On 27-02-2011 18:39, brian - wrote:
I like it tbh, even with the
annoyance of havign to login and retrieve the pass for the user, it's only
required once.
As I said, Twitter don't require the PIN, so you can ignore that step. User
only need to authorize the application, and forget about
looked much into open source
licenses until just now. Would appreciate some insight about it :)
On Mon, Feb 28, 2011 at 12:08 AM, RTT p...@sapo.pt wrote:
On 27-02-2011 19:29, brian - wrote:
I don't really like the idea of embedding the TWebBrowser object, bulky
and
buggy activex stuff
Ok, here's my twitter implementation :
http://eden.fm/2011/02/27/twitter-library-for-delphi/
On Tue, Feb 22, 2011 at 12:13 PM, Francois PIETTE francois.pie...@skynet.be
wrote:
You should really consider making in freeware/opensource.
You'll gain something: other people will find bugs and
have the latest distribution
available from your website, unless I've missed a link to a beta or newer
version :)
On Sun, Feb 27, 2011 at 7:04 AM, Francois PIETTE
francois.pie...@skynet.bewrote:
Hello Brian,
Ok, here's my twitter implementation :
http://eden.fm/2011/02/27/twitter-library
I much prefer non-blocking. While receiving data from a httpcli f.e or over
a slow connection etc, my app keeps running while waiting for data. without
having to complicate it all with extra threads for everything.
On Tue, Feb 22, 2011 at 2:26 PM, Zvone pha...@gmail.com wrote:
When I looked at
I'm pretty sure I mailed mine a few years ago, but might as well send
another :) I just do see more and more people lately using Indy by default
since it started coming packed with Delphi, and they either don't know about
ICS or prefer the simplicity of Indy. I prefer ICS for the control it gives
Hi,
I made a small modification to OverbyteIcsHttpProt
and OverbyteIcsHttpCCodZLib, maybe it can be sorted for the next version.
OverbyteIcsHttpProt :
I made a small change to modify the headers before sending a request. I know
there is an event for it, OnBeforeHeaderSend, however that's not
Always been a bit skeptic about open source, how do you make money from that
:)
On Sun, Feb 20, 2011 at 3:23 PM, Francois PIETTE
francois.pie...@skynet.bewrote:
closed source for now since im using it for another large project, and the
libraries are not complete, it's mostly just the steps to
I'll post the code in google code along with that tiny client :) it's
nothing major and my code is probably embarrassingly messy
and primitive though, I'm sure it can be improved a lot ^^ Just a small
clarification though, it's not a component, it's only a unit with an object
I called TTwitterCli,
closed source for now since im using it for another large project, and the
libraries are not complete, it's mostly just the steps to auth with twitter
and send the messages. I saw someone else made an oauth for delphi already,
but didnt like it, too much use of classes for any little things and
I'm using it also for a plugin for this application: http://malupdater.com/
http://malupdater.com/All these posts are being sent by ICS ^^
http://twitter.com/#!/search?q=%23MalUpdater
On Sun, Feb 20, 2011 at 12:45 PM, brian - hikarito...@gmail.com wrote:
closed source for now since im using
I made my own twitter and oauth libraries from scratch, full unicode
support, with ICS :) Never liked Indy.
http://eden.fm/twitmee/
On Fri, Feb 18, 2011 at 3:57 PM, Francois PIETTE
francois.pie...@skynet.bewrote:
OK, thanks for the infos.
--
francois.pie...@overbyte.be
I got this working, httpcli is just working as expect, was nothing wrong
with it. I will keep that extra variable for the headers anyway, it's a lot
more convenient than the notify event.
On Sun, Feb 13, 2011 at 3:54 AM, brian - hikarito...@gmail.com wrote:
only 1 line
SHeader
Hi,
I've been working on Twitter's OAuth implementation, for which I'm using
THttpCli. There are various ways to do this, one of which is adding some
Auth data in the http headers and not including the parameters int he GET
call. However, there's no option in httpcli to manually modify the
Oh yeah, dunno why I thought that was read only same effect anyway, the
output headers are the same and still OAuth fails. Maybe something to do
with the way httpcli sends the headers?
On Sat, Feb 12, 2011 at 11:42 PM, RTT p...@sapo.pt wrote:
On 12-02-2011 22:31, brian - wrote:
there's
(sign) +'';
On Sun, Feb 13, 2011 at 3:35 AM, RTT p...@sapo.pt wrote:
On 12-02-2011 22:31, brian - wrote:
Authorization: OAuth oauth_callback=oob, realm=,
oauth_nonce=5B2407849960FC2B4EC23007EA63E8ED,
oauth_timestamp=1297549627, oauth_consumer_key=5BZYtiAzGvQTL0ZEhAn45w
Hi, do you know about madExcept? That helps a lot in catching the source of
exceptions.
--
From: Keith Willis i...@net-soft.com.au
Sent: Wednesday, February 04, 2009 14:37
To: 'ICS support mailing' twsocket@elists.org
Subject: Re: [twsocket]
Hi,
I am using a httpcli created on run-time. I first connect to a website, and
after DocEnd I call another procedure that changes the event procedures and
connects to a different website. On the 2nd call I get an Exception HTTP
component is busy, so I do this before trying the 2nd call
try
, breakpoint the original setready.
Regards,
SZ
On Sat, Oct 18, 2008 at 3:16 PM, brian [EMAIL PROTECTED] wrote:
Hi,
I am using a httpcli created on run-time. I first connect to a website,
and
after DocEnd I call another procedure that changes the event procedures
and
connects
, OnRequestdone will be triggered.
You can set a flag when you call abort, and then you can take action in
OnRequestdone.
You problably have to free some streams anyway, which are usually freed in
OnRequestdone.
Paul
- Original Message -
From: brian [EMAIL PROTECTED]
To: ICS support
,
If you call Abort, OnRequestdone will be triggered.
You can set a flag when you call abort, and then you can take action in
OnRequestdone.
You problably have to free some streams anyway, which are usually freed in
OnRequestdone.
Paul
- Original Message -
From: brian [EMAIL PROTECTED
Have you checked PeerAddr?
- Original Message -
From: Xealot [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Friday, October 17, 2008 04:47
Subject: [twsocket] UDP Address
Hello!
I would like to know if its possible to get the address that a UDP packet
comes from.
I am making an
GetPeerName Socket is not connected'
Im assuming this is because I didnt actually run sock.Connect with the
address I received
that packet from? Im only running sock.connect once to avoid changing
client port
On Fri, Oct 17, 2008 at 4:54 AM, brian [EMAIL PROTECTED] wrote:
Have you checked PeerAddr
you can use SendStr to send a simple text
- Original Message -
From: Hein du Plessis [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Thursday, August 14, 2008 4:59 PM
Subject: [twsocket] Using TWSocket
Hi All
I'm trying to write a simple TCP/IP app but I'm not sure how to actually
Brian
Unfortunately the application on the server requires a binary length
indicator first, followed by XML. The XML part is easy with the SendStr
function.
Thanks,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of brian
Sent: 14 August 2008 17
procedure LoginSocketDocEnd(Sender: TObject);
var p: PChar;
s: string;
begin
p := TMemoryStream(LoginSocket.RcvdStream).Memory;
s:= Copy(StrPas(p), 1, LoginSocket.RcvdStream.Size);
LoginSocket.RcvdStream.Destroy;
LoginSocket.RcvdStream := nil;
or if you need stringlists:
procedure
: [twsocket] Converting memorystream to string?
Brian,
At 10:49 13/08/2008, brian wrote:
procedure LoginSocketDocEnd(Sender: TObject);
(snip)
Thanks much for the code.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman
I think with UDP you get can get packets in different order, not get them at
all, get them repeated.. but as opposed to TCP you get entire packets, if
you send 100 bytes at once, you get 100 at once. Someone correct me if I'm
wrong..
Hi,
This is the first time I am writing a UDP server.
Yeah, I've worked a lot with TCP and it was really no problem requesting a
next packet after each, it was very fast.
UDP offers some other valuable features though.
How do you manage missed/double/wrong ordered packets? I thought of making a
buffer to store a certain amount of packets.. say...
Hi, I checked it out, that's quite confusing heh. I'd appreciate it if you
could show me a simple code for a UDP wsocket to Listen; and send data back
to the host it received from.
Thanks!
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Thanks, that's really helpful! (only missed the pointer to the buffer in
that code)
it seems acknowledging every packet with udp before sending more turns out
much slower than tcp
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
This is the simple test code to receive the data
procedure TForm1.WSocket1DataAvailable(Sender: TObject; ErrCode: Word);
begin
Inc(rec,1);
caption:= 'Received packets = '+inttostr(rec);
memo1.lines.add(WSocket2.ReceiveStr);
end;
Are you calling the message pump from one of your event
sorry, actually it's this
procedure TForm1.WSocket2DataAvailable(Sender: TObject; ErrCode: Word);
Var a: string;
begin
a:= WSocket2.ReceiveStr;
// if length(a) = 0 then Exit;
Inc(rec,1);
caption:= 'Received packets = '+inttostr(rec);
memo1.lines.add('Data: '+a);
end;
--
To unsubscribe or
Use the DocEnd event
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
This is less of a socket question and more of an implementation question.
Imagine a server with many concurrent connections but that only allows one
connection at a time to submit a request, access/manipulate data and then
send the results back to all other connections. In other words all
An example on how I do it:
procedure TUser.SocketDataAvailable(Sender: TObject; Error: Word);
Var a: Integer;
abc,d: string;
begin
if ToRcv = 0 then // NEW PACKET INCLUDING HEADER
begin
NBuffer:= NBuffer + NSocket.ReceiveStr;
AnalyzePacket;
end
else
begin
if
You could use a custom small header on every packet you send, i.e. first 2-4
bytes being the packet size, so when you receive data you add to a buffer
and check if it reached the total size of the packet. If it has not, do
nothing, if it has, complete the buffer and send the data packet to a
I checked the file, it seems to be ok, and there's no viruses in my system
either. Running admin account
Where else can I check for what's wrong ?
Thanks.
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains port numbers for well-known services defined by IANA
#
# Format:
#
#
://www.overbyte.be
- Original Message -
From: brian [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, August 12, 2005 5:42 PM
Subject: Re: [twsocket] FTP as system service: Cannot convert port
'ftp-data'
I checked the file, it seems to be ok, and there's no viruses
I'm trying to port the ftp server demo to a system service, however when I
connect I get this error in the ftp client:
451: Failed: connect: WSocketResolvePort: Cannot convert port 'ftp-data'. Error
#11004
Unable to complete transfer
Any idea why it gets that error when running as a system
72 matches
Mail list logo