From: <don...@is...> - 2005-09-25 01:16:43
|
I also don't see any examples of recvfrom. DEFUN(RAWSOCK:RECVFROM, socket buffer address \ &key MSG_PEEK MSG_OOB MSG_WAITALL) { suggests that this should work [1]> (setf saddr (rawsock:make-sockaddr :packet (make-array 16 :element-type '(unsigned-byte 8) :initial-element 0))) #<RAWSOCK:SOCKADDR :%DATA #(17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)> [2]> (setf socket (rawsock:socket :inet :packet :all)) 4 [3]> (rawsock:recvfrom socket (rawsock:buffer) saddr) but at this point it hangs. I'm pretty sure the problem is *not* that there is no network traffic to read. Any suggestions? |