Diff for /gforth/unix/socket.fs between versions 1.53 and 1.54

version 1.53, 2012/05/01 14:57:57 version 1.54, 2012/05/01 22:17:56
Line 151  Variable sockopt-on Line 151  Variable sockopt-on
 : c-string ( addr u -- addr' )  : c-string ( addr u -- addr' )
     tuck pad swap move pad + 0 swap c! pad ;      tuck pad swap move pad + 0 swap c! pad ;
   
    0 Constant PF_UNSPEC       0 Constant PF_UNSPEC
    2 Constant PF_INET       2 Constant PF_INET
 [IFDEF] darwin  [IFDEF] darwin
   30 Constant PF_INET6      30 Constant PF_INET6
 $0210 Constant AF_INET   $0210 Constant AF_INET
 $1E1C Constant AF_INET6   $1E1C Constant AF_INET6
   27 Constant IPV6_V6ONLY      27 Constant IPV6_V6ONLY
   35 Constant EWOULDBLOCK      35 Constant EWOULDBLOCK
  $40 Constant MSG_WAITALL     $40 Constant MSG_WAITALL
 $006 Constant O_NONBLOCK|O_RDWR    $006 Constant O_NONBLOCK|O_RDWR
    $1006 Constant SO_RCVTIMEO
    $FFFF Constant SOL_SOCKET
 [ELSE]  [ELSE]
   10 Constant PF_INET6      10 Constant PF_INET6
    2 Constant AF_INET       2 Constant AF_INET
   10 Constant AF_INET6      10 Constant AF_INET6
   26 Constant IPV6_V6ONLY      26 Constant IPV6_V6ONLY
   11 Constant EWOULDBLOCK      11 Constant EWOULDBLOCK
 $100 Constant MSG_WAITALL    $100 Constant MSG_WAITALL
 $10000 Constant MSG_WAITFORONE  $10000 Constant MSG_WAITFORONE
 $802 Constant O_NONBLOCK|O_RDWR    $802 Constant O_NONBLOCK|O_RDWR
       20 Constant SO_RCVTIMEO
        1 Constant SOL_SOCKET
 [THEN]  [THEN]
    1 Constant SOCK_STREAM     1 Constant SOCK_STREAM
    2 Constant SOCK_DGRAM     2 Constant SOCK_DGRAM

Removed from v.1.53  
changed lines
  Added in v.1.54


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>