bugGuile - Bugs: bug #32439, Bug in Bind on Mac OS X

 
 

bug #32439: Bug in Bind on Mac OS X

Submitter:  None
Submitted:  Sat 12 Feb 2011 08:37:07 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 13 Feb 2011 09:08:48 PM UTC, comment #1: 

Fixed in git (with your patch :)

Thanks!

Andy Wingo <wingo>
Group administrator
Sat 12 Feb 2011 08:37:07 PM UTC, original submission:  

Running

(define addr (inet-aton "127.0.0.1"))                     ; get internal representation of 127.0.0.1
(define sockaddr (make-socket-address AF_INET addr 8080)) ; make a struct sockaddr
(define sock (socket PF_INET SOCK_STREAM 0))              ; make a socket
(bind sock sockaddr)                                      ; bind the socket to the address

on Mac OS X produces the error "bind: can't assign requested address". Unfortunately, a comparable Python program does not produce an error, so it's probably a bug in Guile.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-13 wingo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code