![]() |
detecting http port
situation is next;
for example for data exchanging i choose http protocol, TIdHTTP server /and client by default in client app , in TIdHTTP client component port option i set to 80, but if client using not 80 port but 8080 ???? can my server app listen on ports 80,8080 or any other kind of http ports, thanks |
Re: detecting http port
A server can listen to any port. Port 80 is only the officially specfifieed port for HTTP, and every HHTP-client tries to reach a server on port 80 if not specified differently.
|
Re: detecting http port
in Indy component TIdHTTP (client) is one property - bindings
this option i must to use, at this point of work i cant realy understand what this bindings mean.... i must set bindings like myIP:80 myIP:8080 myIP:any other known internet port and when client connects i must in loop try all kind of ports ??? :coder: thanks |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz