Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1156 (closed enhancement: wontfix)

Opened 16 years ago

Last modified 15 years ago

UNIX Address for UNIX sockets

Reported by: e-t172 Assigned to: kris
Priority: normal Milestone: 0.99.8
Component: IO Version: trunk
Keywords: Cc:

Description

Implement UnixAddress? in tango.net.Socket in order to allow the use of Unix sockets in Tango (for instance, /foo/bar.sock).

Attachments

tango.unixsock.patch (3.0 kB) - added by e-t172 on 06/20/08 09:03:49.
Patch which implements UnixAddress?

Change History

06/20/08 09:03:49 changed by e-t172

  • attachment tango.unixsock.patch added.

Patch which implements UnixAddress?

06/20/08 09:30:14 changed by larsivi

  • milestone set to 0.99.8.

08/03/08 18:57:11 changed by kris

  • status changed from new to closed.
  • resolution set to wontfix.

Thanks for providing this, e-t172, but we try to keep the APIs generic across all supported platforms. There are some O/S specific modules, but they're maintained outside of the generic API set (in tango.sys.*)

For that reason, we're a bit uncomfortable adding Unix-specific functionality to a generic module such as Socket.

The intent, and effort, is much appreciated though

01/13/09 21:17:03 changed by larsivi

Since a request for such functionality came up again, I am wondering if it is possible to support this in a pluginish manner (the *nix address part could potentially live somewhere in tango.sys ).

02/12/09 01:55:26 changed by debio

Just a suggestion: Why not have something like tango.sys.unix.socketaddress and have tango.net.Socket include this: version(Posix) public import tango.sys.unix.socketaddress;

So the API is available under UNIX, but clearly not available anywhere else. Given that Linux/Unix server applications seem to be moving more and more toward this type of socket, it seems like valuable functionality to include.

08/04/09 11:30:11 changed by larsivi

See #1715