Search found 1 match

by infrared
Thu Jan 02, 2014 1:04 pm
Forum: Common Lisp
Topic: "unbind" a socket...?
Replies: 2
Views: 7816

"unbind" a socket...?

Hi. I'm trying to learn beginning network programming. I wrote a little SBCL code to accept a connection and then close it: (defun serve (port) (let ((sock (make-instance 'inet-socket :type :stream :protocol :tcp))) (progn (socket-bind sock (make-inet-address "127.0.0.1") port) (socket-lis...