From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: SRFI 106 "basic socket interface" in Guile Date: Mon, 25 Oct 2021 06:35:52 +0000 Message-ID: <9eb51d3967d3f4cd9542a88e31bb20a959059dc2.camel@telenet.be> References: <20211025025953.75bi6eo5qxruykes@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24699"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Tim Lee , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Oct 25 08:42:42 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1metgw-0006Da-1D for guile-user@m.gmane-mx.org; Mon, 25 Oct 2021 08:42:42 +0200 Original-Received: from localhost ([::1]:55694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1metgt-00039c-NJ for guile-user@m.gmane-mx.org; Mon, 25 Oct 2021 02:42:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1metaY-0001cP-48 for guile-user@gnu.org; Mon, 25 Oct 2021 02:36:06 -0400 Original-Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:57452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1metaR-00061c-SH for guile-user@gnu.org; Mon, 25 Oct 2021 02:36:05 -0400 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id A6bt2600C4UW6Th016btq3; Mon, 25 Oct 2021 08:35:54 +0200 In-Reply-To: <20211025025953.75bi6eo5qxruykes@localhost> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1635143754; bh=xSipldKV6CJ5xYhRtC2uZ3gHiGLEKKkKoL2F/ZtLjL8=; h=Subject:From:To:Date:In-Reply-To:References; b=s93z7pVYPKsJpcGFEDpeCwTYLrMCS03TQUnz/R8n/RpRtq1tgApxeR8osmIWnkDhh ywohUaps2zCrhw1EpZO5gFwVCSm70b/ICEa3Gh8tuM0J1XlV/rHAmhnozqePTkQEcy SW6kU4wO1g4J+U9cNQ6TKGx0ftGgJwGLygy8zqEKhUXgF7iDm+sFP5C+LlgIBFMDuo H5C5PdzqYa05ttYCgTgo1WxpvrF/sS5r0S3k5C7GvciCpCTA22k3ORCCX4xbuxRQMi IZ06LBVunmze6Itls4TmFh61/3U6SGMh2k1ky15m4aLLRyuqvwCH9s/xmF18KTQDdx fVeQ8OeZOVqvg== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17818 Archived-At: Tim Lee schreef op ma 25-10-2021 om 02:59 [+0000]: > I noticed that Guile does not implement SRFI 106 (basic socket > interface) > (https://srfi.schemers.org/srfi-106/srfi-106.html). Is there a > fundamental reason for the omission? I'm just wondering whether or > not > Guile has all the socket primitives needed to implement SRFI 106. > I don't think Guile has an equivalent of *msg-peek*, *msg-oob* and *msg-waitall*. I don't know why SRFI 106 asks for socket- {input/output}-port to return fresh ports, if non-fresh ports were allowed, the socket itself could be returned. Except for these issues, everything seems to be implementable in pure GUile. Greetings, Maxime