Hello iwsc,
Use GetXAddr method. It returns the local address to witch the socket
has been bound. If you wants to know it from the other side you can use
PeerAddr property.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Monday, March 20, 200
I have a small question.
How can I find which ip I use when connecting to server?
I have several IP's configured on my laptop and a Sendfile client. I configure
the server on another machine to listen to port 2 and the rx/tx works fine.
But how can I find which is my local ip the sendfile
Hello Dod,
I think you have to override the Notification method of
TWSocketServer. I only did a quick look..
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Sunday, March 19, 2006, 22:28, Dod wrote:
> Hello Wilfried,
> Yes, I came
Hello Wilfried,
Yes, I came to same conclusion too when you told me it worked fine
with TWSocket. Now I simply set FSessionClosedFlag:=False before
calling .Connect again and all is fine. I also added some
FConnectDidError:=ErrCode in OnSessionConnected sowhe
Hi
Great, but when I tried to install latest version of ICS v5 (Mar 09, 2006))
for Delphi 2005 I could't compile it and install...
What I do:
1. Removing all dcu (obj) files from vc32 and internet directory.
2. Opening IcsDel90.bdsproj file
3. Compiling this... I got errors.
- in HttpContCod un
I plan to release ICS-V5. That is make the current ICS-V5 beta as the
released version.
Anyone have trouble with that ?
My idea is that this ICS-V5 release will be the last V5 release. Only bug
fixes will be done on that version. All new features will be added to V6
only.
--
Contribute to the
A new ICS-V6 beta is ready.
- I made it to the same level as ICS-B5, that is I added HTTP server
authentication support that was made into V5. Also updated corresponding
OverbyteIcsWebServ demo.
- I converted SMTP client component and made OverbyteIcsMailSnd demo.
Please give it a try ! This ver
Hi Dod,
Did some additional research. If you wants to use TWSocketClient instead
of TWSocket to initiate a connection, then you have to set
FSessionClosedFlag := False; in the OnSessionClosed event. If you do not
then OnSessionClosed will not trigger a second time.
---
Rgds, Wilfried [TeamICS]
ht
Hello Dod,
> In the SessionClosed I start a Timer that will send a message 20
> second later to retry a .Connect, but this new try will only produce a
> OnSessionConnected not followed by a SessionClosed, any idea why ?
I examined the project that demonstrate the problem. The client you use