site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=T4Eq7q CrfZy3WH24zdWyNqe3fkUUbp1XcYClOlpSgYU=; b=riws/J6plIztFAlGuc1Nm+ zDcoNOhkHoBmM4ntTILBX1stUesJJdqOhizR20eaWmiQ8RxhbrV4eG/jbmXpfEjY caX4EySTxvAj2DobSsacwaWkPW3vqlX0z3hY6ujdiTfQZwd5+XOIIg8K3r+Os5w2 DPoyl43o8xmH6SibBv7t6XlsHrAZtoE66Aqa/tPiBLBUQoBHfflpEkS24X9JE24P K21fvT4kTK11T2bRnvN2pLRGKMTWPzAnR8xKZTvf2c3ELzUc9xHjAVmdLWm9go/+ Whd8T9BUjLdti+zOWswfQcRkQFWzYCjbTeg6iE/gDM+e3YMmTuGv8XF7zzaTAM8Q ==
On Feb 22, 2019, at 8:55 AM, Neil Alexander <neilalexander@neilalexander.eu> wrote:
There is Cgo for that but it’s not exactly elegant - suitable for one-off calls here and there but I don’t think it would be great for writing a replacement for the built-in socket API in Go, especially when we’re already using that when targeting the build for many other platforms.
The standard Go socket API is implemented in CGo. I don’t recall the API, but isn’t it defined as interfaces that you can implement new versions of? Also, why does the Mac version of this have to use a different network API than other platforms? Or are you trying to add extra functionality that isn’t available cross-platform? —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com