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 » Community » U++ community news and announcements » Unix Domain Sockets Support Added to U++.
Re: Unix Domain Sockets Support Added to U++. [message #61901 is a reply to message #61900] Sat, 13 December 2025 17:56 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1250
Registered: August 2007
Senior Contributor
Hello Tom,

Quote:

Thanks for the news! I was pleased to read about this interesting and important piece of work. As I currently do not have much time to dig into your implementation properly, can you tell me if you included support for Windows 10/11 too? Windows is supposed to support AF_UNIX since about 2017... although not abstract socket namespace.

I actually wasn't aware of that until you mentioned it Smile
I've been working almost exclusively on Linux for years, so I must have missed that development.

That said, since the Socket class already abstracts things in a fairly portable way, and only connection creation and listening need to be handled separately, it should be quite straightforward to add Windows support as well. At the moment, it is available only on POSIX systems

I'll check and verify this as soon as possible.

Regarding performance, I didn't include any dedicated benchmarks. The U++ nightlies already contain UnixSocketClient and UnixSocketServer examples, which are essentially the same as the SocketClient and SocketServer examples. Based on my experience (outside of U++), Unix domain sockets are generally faster for local IPC, as they avoid the TCP/IP stack overhead.

Moreover, performance was not the only motivation. Many system services (such as the notorious D-Bus) rely exclusively on Unix domain sockets.

In any case, I'll follow up with some benchmarks.

Best regards,
İsmail


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIT release tag naming convention has been changed
Next Topic: Display image icon in the GridCtrl cell.
Goto Forum:
  


Current Time: Sun Jan 11 19:09:48 CET 2026

Total time taken to generate the page: 0.17932 seconds