guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial SCTP support for the upcoming 1.6.5 release


From: Kevin Ryde
Subject: Re: Initial SCTP support for the upcoming 1.6.5 release
Date: Mon, 16 Aug 2004 10:40:17 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Michael Tuexen <address@hidden> writes:
>
> Is there a possibility to include
>
> #ifdef SOCK_SEQPACKET
>    scm_c_define ("SOCK_SEQPACKET", SCM_MAKINUM (SOCK_SEQPACKET));
> #endif

I imagine so.

>    /* protocol numbers */
> #ifdef IPPROTO_SCTP
>    scm_c_define ("IPPROTO_SCTP", SCM_MAKINUM (IPPROTO_SCTP));
> #endif
>
> #ifdef IPPROTO_TCP
>    scm_c_define ("IPPROTO_TCP", SCM_MAKINUM (IPPROTO_TCP));
> #endif
>
> #ifdef IPPROTO_UDP
>    scm_c_define ("IPPROTO_UDP", SCM_MAKINUM (IPPROTO_UDP));
> #endif

No, I think "man 5 protocols" advises using /etc/protocols, not hard
coding numbers.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]