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

Re: [Scheme-reports] Scheme-reports Digest, Vol 10, Issue 1



 | Date: Sat, 30 Oct 2010 02:59:52 -0400
 | From: John Cowan <cowan@x>
 | 
 | Aubrey Jaffer scripsit:
 | 
 | > Exposing port-numbers to the programmer leads to resource leaks
 | > (orphaned ports).
 | 
 | I don't understand that.  The SCM socket:bind, socket:connect, and
 | socket-name:port-number procedures all expose port numbers, and I
 | don't understand how you can implement TFTP without knowing about
 | them.
 | 
 | Are you momentarily confusing port numbers with file descriptors?

Oops; yes.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports