digitalmars.D.learn - No Unix socket support?
- simendsjo (7/7) Jul 29 2015 Is there no Unix socket support in Phobos? Or vibe? Or any other
- Dragos Carp (4/11) Jul 29 2015 With the exception of the abstract type [1] it should work just
- via Digitalmars-d-learn (5/6) Jul 29 2015 No, there's plenty of support. Just use a unix address when
- tcak (5/12) Jul 29 2015 I defined a module with "class UnixAddress: Address{}" and "class
Is there no Unix socket support in Phobos? Or vibe? Or any other library? I've found some discussions: * https://issues.dlang.org/show_bug.cgi?id=9384 * http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/10870/ , but it seems there are no support yet.
Jul 29 2015
On Wednesday, 29 July 2015 at 13:39:33 UTC, simendsjo wrote:Is there no Unix socket support in Phobos? Or vibe? Or any other library? I've found some discussions: * https://issues.dlang.org/show_bug.cgi?id=9384 * http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/10870/ , but it seems there are no support yet.With the exception of the abstract type [1] it should work just fine. [1] http://man7.org/linux/man-pages/man7/unix.7.html
Jul 29 2015
On Wed, Jul 29, 2015 at 01:39:31PM +0000, simendsjo via Digitalmars-d-learn wrote:Is there no Unix socket support in Phobos?No, there's plenty of support. Just use a unix address when making a socket. I used it in my terminal emulator: https://github.com/adamdruppe/terminal-emulator/blob/master/attach.d#L523
Jul 29 2015
On Wednesday, 29 July 2015 at 13:39:33 UTC, simendsjo wrote:Is there no Unix socket support in Phobos? Or vibe? Or any other library? I've found some discussions: * https://issues.dlang.org/show_bug.cgi?id=9384 * http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/10870/ , but it seems there are no support yet.I defined a module with "class UnixAddress: Address{}" and "class UnixSocket: Socket{}" and made a small implementation 2 years ago. It still works perfectly. If interested, I can post it here. It is 69 lines only.
Jul 29 2015