[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setup a sockaddr

From: Manuel Giraud
Subject: Re: Setup a sockaddr
Date: 06 Aug 2001 10:11:05 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Chris Cramer <address@hidden> writes:

> On Fri, Aug 03, 2001 at 11:13:09AM +0200, Manuel Giraud wrote:
> > I'm trying to program a simple client/server in Guile as exercise (to
> > learn how to use socket with it).
> > 
> > But, I'm not able to construct a sockaddr object.
> What do you need a sockaddr object for exactly? Neither connect or bind
> need it.

I'm using "sendto" but looking at the code of socket.c of guile 1.4,
you're right. It seems that guile fills the sockaddr structure
himself: scm_fill_sockaddr (...) (l. 850).

"Never imagine yourself not to be otherwise than what it might appear
to others that what you were or might have been was not otherwise than
what you had been would have appeared to them to be otherwise"
  The Duchess

_Manuel Giraud_

reply via email to

[Prev in Thread] Current Thread [Next in Thread]