[Openmcl-devel] UDP socket problem on 1.11-dev-r16341M-trunk (DarwinX8664)

R. Matthew Emerson rme at clozure.com
Wed Jan 14 09:01:15 PST 2015


I made http://trac.clozure.com/ccl/ticket/1259 for this.

I will investigate this bug.



> On Jan 13, 2015, at 11:22 AM, Park SungMin <byulparan_eng at icloud.com> wrote:
> 
> 
> (defparameter *message* (make-array 20 :element-type '(unsigned-byte 8)
> 				       :initial-contents '(47 103 95 102 114 101 101 65 108 108 0 0 44 105 0 0 0 0 0 0)))
> 
> (defparameter *udp-server* (make-socket :type :datagram
> 					:local-port 42301))
> 
> (defparameter *udp-client* (make-socket :type :datagram
> 					:remote-port 42301))
> 
> (send-to *udp-client* *message* (length *message*)) ;; <- error!
> 
> 
> and…in Usocket..
> 
> (require :usocket)
> 
> (defparameter *socket-serv*
>  (usocket:socket-connect nil nil :protocol :datagram
> 				  :local-host "127.0.0.1"
> 				  :local-port 43874))
> 
> (defparameter *socket-client*
>  (usocket:socket-connect nil nil :protocol :datagram))
> 
> (usocket:socket-send *socket-client* *message* (length *message*) :port 43874 :host "127.0.0.1”)  ;; <- error!
> 
> 
> 
> 
> until recently…It works……..plz help me. thank you!




More information about the Openmcl-devel mailing list