Re: [twsocket] Multiple declaration for 'sockaddr'

2011-12-16 Thread Azrin Aris
Hi,

Downloading from overbyte is always the best solution. You might want to 
download the latest version form ics website. 


On Dec 17, 2011, at 2:06, Ole Braad-Sørensen o...@soholm.com wrote:

 
 Hi!
 
 Just installed BCB XE and with the DVD was the Overbyte package.
 I have installed it and trying to use it, but get the error:
 
 Multiple declaration for 'sockaddr'
 
 I know that it is something to do with the winsock file.
 
 I have tried to move around with the includes, but no luck.
 
 I have also for many years ago read something about a fix for this error.
 Something about uncommenting something somewhere, but can't remember what.
 
 Anyone hwo have a fix for this...?
 
 --
 Regards:
 Ole Braad-Sorensen
 www.fotogator.dk
 --
 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
--
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

Re: [twsocket] Getting Local IP Address of a socket

2011-11-30 Thread Azrin Aris

On Dec 1, 2011, at 3:52 AM, Francois PIETTE wrote:

 I tried to read WsocktServer1-LocalAddr  but the value is 0.0.0.0; Is there
 a way (using ICS) to get what ip does a socket bind to?
 
 A server socket is either bound to ALL IP addresses or to a single one.
 When bound to a single IP, you - as the programmer - select which one by 
 setting the Addr property to that IP. If you use 0.0.0.0, the socket is 
 listening to ALL IPs.

Thank you for the explanation. The reason I asked is because in one of the 
forum that I googled on, did mention about using ICS and LocalIPList property. 
But I simply could not find the property/method. Anyway, thanks again for the 
pointer. 

--
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


Re: [twsocket] Using TWSocketServer in TServiceApplication - C++

2010-03-19 Thread Azrin Aris
Problem Solved. I just download the latest version and recompile. BTW, there is 
no OverbyteIcsScvTcp demo the the latest (V7) release.

Thank you very much

On Mar 18, 2010, at 11:49 PM, Francois PIETTE wrote:

 I've downloaded the two example of TWSocket in TService from the usermade 
 section but the example is quite old and I could not port it to make as 
 simple TCP server service. I'm using BCB 2009. Does anyone have a simple 
 example on how to achieve this?
 
 There is one service sample delivered with ICS itself: 
 OverbyteIcsSvcTcp.dproj.
 btw: There is nothing special in using ICS in a service. Do it just like you 
 would in a console mode application. Don't forget you need a working message 
 pump.
 
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 --
 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

--
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


Re: [twsocket] Using TWSocketServer in TServiceApplication - C++

2010-03-19 Thread Azrin Aris
Silly me... :)

Thank you


On Mar 20, 2010, at 12:53 AM, Francois PIETTE wrote:

 There is one service sample delivered with ICS itself: 
 OverbyteIcsSvcTcp.dproj.
 
 BTW, there is no OverbyteIcsScvTcp demo the the latest (V7) release.
 
 You swapped two letters...
 http://svn.overbyte.be:8443/svn/ics/branches/icsv7/Delphi/Internet/OverbyteIcsSvcTcp.dproj
 
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 --
 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

--
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


[twsocket] Using TWSocketServer in TServiceApplication - C++

2010-03-18 Thread Azrin Aris
I've downloaded the two example of TWSocket in TService from the usermade 
section but the example is quite old and I could not port it to make as simple 
TCP server service. I'm using BCB 2009. Does anyone have a simple example on 
how to achieve this?

Thank you

Sincerely
Azrin
--
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


Re: [twsocket] Using TWSocketServer in TServiceApplication - C++

2010-03-18 Thread Azrin Aris
I found out if I use TWSocket in CBuilder 2009, It would not work. It compiles 
ok, but when I tried to start the service, I got 1053 error. When I remove the 
component, everything works fine. Any ideas?


On Mar 18, 2010, at 11:49 PM, Francois PIETTE wrote:

 I've downloaded the two example of TWSocket in TService from the usermade 
 section but the example is quite old and I could not port it to make as 
 simple TCP server service. I'm using BCB 2009. Does anyone have a simple 
 example on how to achieve this?
 
 There is one service sample delivered with ICS itself: 
 OverbyteIcsSvcTcp.dproj.
 btw: There is nothing special in using ICS in a service. Do it just like you 
 would in a console mode application. Don't forget you need a working message 
 pump.
 
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 --
 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

--
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


Re: [twsocket] THttpCli and Javascript

2009-08-12 Thread Azrin Aris

Thanks,

I'll try to get the page source.


On Aug 12, 2009, at 1:38 PM, Francois PIETTE wrote:

Is there a way to somehow trick the server that HttpCli is  
javascript enabled?


You have to look at the HTML page which does the check. In that  
page, a javascript script do something to send something back to the  
server to signal javascript is here, or the javascript do some  
redirection so that the user see the next page automatically.  
Without javascript the user simply see the page which contain the  
message.


In other words: you don't need javascript but you need to understand  
what is done using javascript and do the same with Delphi code.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - From: Azrin Aris azrin_a...@yahoo.com
To: ICS support mailing twsocket@elists.org
Sent: Wednesday, August 12, 2009 2:53 AM
Subject: Re: [twsocket] THttpCli and Javascript


My aim of using THttpCli is to open a page and collect the  
information from there (Getting information from Modem WebGUI). I  
have no problem with pages without javascript. Actually I do not  
have to interpret the script at all, the only thing is when the  
page detects that I have no javascript capability, then I'm stuck.


Is there a way to somehow trick the server that HttpCli is  
javascript enabled?



On Aug 12, 2009, at 7:50 AM, Darin McGee wrote:

The THttpCli does NOT have built in Javascript support, it is  
simply a

basic HTTP client NOT a full blown browser.

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org 
]

On Behalf Of Azrin Aris
Sent: Tuesday, August 11, 2009 7:17 PM
To: ICS support mailing
Subject: Re: [twsocket] THttpCli and Javascript

But I already did :(

On Aug 12, 2009, at 2:15 AM, Francois PIETTE wrote:


I'm quite new to ICS THttpCli and now trying the THttpCli example.
I  just try to open a website but what I got is noscriptYou
must  enable JavaScript in your browser./noscript.
My question is how can I enable JavaScript in HttpCli?


You don't have to enable JavaScript in HttpCli ! You have to enable
JavaScript in your BROWSER (that is IE, FireFox,...).

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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


--
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


__ Information from ESET Smart Security, version of virus
signature database 4327 (20090811) __

The message was checked by ESET Smart Security.

http://www.eset.com



__ Information from ESET Smart Security, version of virus
signature database 4327 (20090811) __

The message was checked by ESET Smart Security.

http://www.eset.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


--
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


--
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


--
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


[twsocket] THttpCli and Javascript

2009-08-11 Thread Azrin Aris
I'm quite new to ICS THttpCli and now trying the THttpCli example. I  
just try to open a website but what I got is noscriptYou must  
enable JavaScript in your browser./noscript.


My question is how can I enable JavaScript in HttpCli?

Thanks


--
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