Re: How can i find my LAN IP Address using std.socket?

2024-02-18 Thread cc via Digitalmars-d-learn
On Tuesday, 4 February 2014 at 13:02:26 UTC, TheFlyingFiddle wrote: I'm trying to find my own ip address using std.socket with little success. How would i go about doing this? (It should be a AddressFamily.INET socket) On Windows, you can use the Win32`GetAdaptersInfo`[1] function to get a li

vibe.d still does not work on FreeBSD.

2024-02-18 Thread Alain De Vos via Digitalmars-d-learn
The error i get : ``` Up-to-date vibe-d 0.9.8: target for configuration [library] is up to date. Building t ~master: building configuration [application] Linking t ld: error: undefined symbol: SSL_get_peer_certificate referenced by openssl.d:373 (../../.dub/packages/vibe-d/0.9.8/vibe

Re: vibe.d still does not work on FreeBSD.

2024-02-18 Thread Sergey via Digitalmars-d-learn
On Sunday, 18 February 2024 at 13:23:53 UTC, Alain De Vos wrote: DEFAULT_VERSIONS+= ssl=openssl111 Maybe also could be helpful to share your dub.json, compiler version and OS version as well.

std.uni.CodepointSet from range of pairs of integers

2024-02-18 Thread Carl Sturtivant via Digitalmars-d-learn
I wanted to construct a CodepointSet from a string, so I used the constructor here. https://dlang.org/phobos/std_uni.html#.InversionList.this.2 I wrote a range of pairs (CodepointIntervals) of integers consisting of each codepoint in the string paired with that plus one. This did solve the pro

Re: std.uni.CodepointSet from range of pairs of integers

2024-02-18 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
I can understand ``pure``. https://github.com/dlang/phobos/blob/master/std/uni/package.d#L2075 It is literally on the constructor. Now @safe I don't know. My best guess would be for some reason the constructor is getting inferred as it (templates get inferred).

Re: vibe.d still does not work on FreeBSD.

2024-02-18 Thread Alain De Vos via Digitalmars-d-learn
On Sunday, 18 February 2024 at 19:22:26 UTC, Sergey wrote: On Sunday, 18 February 2024 at 13:23:53 UTC, Alain De Vos wrote: DEFAULT_VERSIONS+= ssl=openssl111 Maybe also could be helpful to share your dub.json, compiler version and OS version as well. Compiler : ldc2 --version : LDC - the L

Re: std.uni.CodepointSet from range of pairs of integers

2024-02-18 Thread Carl Sturtivant via Digitalmars-d-learn
On Monday, 19 February 2024 at 01:42:03 UTC, Richard (Rikki) Andrew Cattermole wrote: I can understand ``pure``. https://github.com/dlang/phobos/blob/master/std/uni/package.d#L2075 It is literally on the constructor. Now @safe I don't know. My best guess would be for some reason the construct

Re: std.uni.CodepointSet from range of pairs of integers

2024-02-18 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 19/02/2024 5:33 PM, Carl Sturtivant wrote: On Monday, 19 February 2024 at 01:42:03 UTC, Richard (Rikki) Andrew Cattermole wrote: I can understand ``pure``. https://github.com/dlang/phobos/blob/master/std/uni/package.d#L2075 It is literally on the constructor. Now @safe I don't know. My bes

Re: vibe.d still does not work on FreeBSD.

2024-02-18 Thread Kagamin via Digitalmars-d-learn
Docs say SSL_get0_peer_certificate was added in openssl 3.