From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Trouble w/sockets Date: Mon, 04 Mar 2013 14:29:27 +0100 Message-ID: <87wqtnfg3s.fsf@gnu.org> References: <871ubxxie3.fsf@markwitmer.com> <1362286125.99740.YahooMailNeo@web120403.mail.ne1.yahoo.com> <20130303103631.32f26e62@laptop.homenet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1362415998 5164 80.91.229.3 (4 Mar 2013 16:53:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Mar 2013 16:53:18 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Mar 04 17:53:38 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 1UCYdo-0005HT-Al for guile-user@m.gmane.org; Mon, 04 Mar 2013 17:53:32 +0100 Original-Received: from localhost ([::1]:39407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYdS-0007MO-Vu for guile-user@m.gmane.org; Mon, 04 Mar 2013 11:53:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCVSc-0008Cx-T8 for guile-user@gnu.org; Mon, 04 Mar 2013 08:29:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCVSb-00045l-UK for guile-user@gnu.org; Mon, 04 Mar 2013 08:29:46 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCVSb-00045M-Nj for guile-user@gnu.org; Mon, 04 Mar 2013 08:29:45 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UCVSp-0000DF-UD for guile-user@gnu.org; Mon, 04 Mar 2013 14:29:59 +0100 Original-Received: from 193.50.110.91 ([193.50.110.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Mar 2013 14:29:59 +0100 Original-Received: from ludo by 193.50.110.91 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Mar 2013 14:29:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.91 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Vent=C3=B4se?= an 221 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:swdYw656EUn59rNh1SBXuWVyRDs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Mon, 04 Mar 2013 11:52:53 -0500 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:10168 Archived-At: Chris Vine skribis: > Whilst this seems to be a side issue with respect to the OP's > problem, with R6RS you can use the 'put-u8' procedure to write > individual octets to a binary port (and 'get-u8' to read them) [1]. I concur, binary I/O primitives are what should be used for binary protocols like this (info "(guile) R6RS I/O Ports"). Ludo’.