From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: asynchronous socket library Date: Tue, 16 Jul 2013 00:02:36 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373958172 12522 80.91.229.3 (16 Jul 2013 07:02:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 07:02:52 +0000 (UTC) Cc: guile-user To: Javier Sancho Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jul 16 09:02:54 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UyzHi-0001FY-AQ for guile-user@m.gmane.org; Tue, 16 Jul 2013 09:02:54 +0200 Original-Received: from localhost ([::1]:43034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyzHh-0008Ii-Fp for guile-user@m.gmane.org; Tue, 16 Jul 2013 03:02:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyzHZ-0008IR-AA for guile-user@gnu.org; Tue, 16 Jul 2013 03:02:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyzHR-0008M2-Uy for guile-user@gnu.org; Tue, 16 Jul 2013 03:02:45 -0400 Original-Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:35008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyzHR-0008Lv-O4 for guile-user@gnu.org; Tue, 16 Jul 2013 03:02:37 -0400 Original-Received: by mail-la0-f48.google.com with SMTP id lx15so233718lab.21 for ; Tue, 16 Jul 2013 00:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KzF2yZ2BTXffFCpFN6/jyTrdBNIqgpd1DG1t2UDBqpw=; b=w/YovGyUJ1C0W3HyBAkuwj0+Rgx0VGpulREwlxg6EPejVe7PFaq6DEv3bemEXNA9T3 4frNZxxfXOvq/1P2IrVDMgOqGV6fOQOgbQH8lN3eD2iM3VImJEl6Y+Flr0gZGk8oTkMr DX4lsX++yBH2db+DrQf2mN80AZ5/J7GMJSngN553SN4M+sa7/md1SoY7ocECe5TDpNdu Wt+8XOy4oLwzWd7FD5M0UmQiq8Aspk75thF5aS3Y8F8BoRoFEAijzNNvSGeHfbJfwjUt QcnDufb1qqNkHYWmEjAochknj7q3lEy0ru24+NBQci61Dv44zJShOBxe5hSueCcwVjjO didQ== X-Received: by 10.112.89.73 with SMTP id bm9mr474692lbb.39.1373958156628; Tue, 16 Jul 2013 00:02:36 -0700 (PDT) Original-Received: by 10.114.173.228 with HTTP; Tue, 16 Jul 2013 00:02:36 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10538 Archived-At: On Mon, Jul 15, 2013 at 11:15 PM, Javier Sancho wrote: > Aleix Conchillo Flaqu=C3=A9 wrote: >> I was wondering if there is (or someone is working on) an asynchronous >> socket library for Guile. I was thinking in a pure scheme library (not >> bindings for libevent or some other). > > If you don't use libevent, at least you'll need poll, epoll or > something similar. Or how are you planning to monitor activity on a > file descriptor? > My idea was to create something simple on top of system calls, as libevent does. This might mean that I need additional system calls that are not in guile yet. But it doesn't mean I need to create bindings for libevent (which would probably be smarter if I wanted something complete). Basilica, the main idea is to learn in the process. Aleix