RTC Forums
August 16, 2022, 01:23:59 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Login Register  
Pages: [1]
Author Topic: RtcHttpClient set BoundPort  (Read 1113 times)
RTC License
Posts: 15

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

D.Tkalcec (RTC)
Posts: 1873

« 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
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.021 seconds with 16 queries.