This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sockets are not really ports?



> While implementing the server side of HTTP, I have come across three
> annoying things:
> 	accept blocks all threads
> 	select won't take a socket port
> 	set-current-input-port won't take a socket port

All of these ought to work fine, so I think they're all bugs.

The latter two look like type-checking bugs.  Sockets certainly
support these operations at the Unix level, and Guile's buffering
shouldn't interfere at all.  I suspect the type checking is rejecting
things which would work just fine.

Hopefully Gary Houston or Mikael Djurfeldt will jump in with a patch
for this.  I don't really understand the internal select stuff.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]