RTC Forums
November 27, 2024, 01:23:22 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
RtcHttpClient set BoundPort
Pages: [
1
]
« previous
next »
Print
Author
Topic: RtcHttpClient set BoundPort (Read 3994 times)
twinsoft
RTC License
Posts: 15
RtcHttpClient set BoundPort
«
on:
June 03, 2020, 12:59:17 PM »
Hi, we need to set the BoundPort property of the undelying socket binding to a predefined port, as we do in Indy with IdTcpClient.BoundPort := 9000. How can this be done with RtcHttpClient ?
Stefanos
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: RtcHttpClient set BoundPort
«
Reply #1 on:
June 03, 2020, 01:14:43 PM »
With all RTC Clients, the OS decides which Local Port to use when opening a client socket.
To assign the remote port (where the Server is listening and the Client should connect to), use the "ServerPort" property.
You will also need to set "ServerAddr" to the Server IP address or domain name.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...