Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Find an available/free port - code snippet (TcpSocket, port)
Re: Find an available/free port [message #58042 is a reply to message #58035] Sun, 23 January 2022 07:56 Go to previous messageGo to previous message
Mountacir is currently offline  Mountacir
Messages: 49
Registered: November 2021
Member
Quote:
This is a good snippet of core, but I am not quite sure how is it related to TcpSocket instance?


I started making a plugin for Selenium WebDrivers and i used TcpSocket for the communication. So instead of relying on the default port used by each Driver or randomly assigning one, i made the above code work with TcpSocket.

Should I remove this post and repost in "U++ users applications in progress..." as just a useful code snippet?

Thanks
 
Read Message icon3.gif
Read Message
Read Message
Read Message
Previous Topic: Horizontal Cursor for CodeEditor/LineEdit
Next Topic: SUniGuiCreator
Goto Forum:
  


Current Time: Sat Aug 23 20:05:37 CEST 2025

Total time taken to generate the page: 0.05824 seconds