2197 |
|
|
2198 |
@deffn {Scheme Procedure} socketpair family style proto |
@deffn {Scheme Procedure} socketpair family style proto |
2199 |
@deffnx {C Function} scm_socketpair (family, style, proto) |
@deffnx {C Function} scm_socketpair (family, style, proto) |
2200 |
Return a pair of connected (but unnamed) socket ports of the |
Return a pair, the @code{car} and @code{cdr} of which are two unnamed |
2201 |
type specified by @var{family}, @var{style} and @var{proto}. |
socket ports connected to each other. The connection is full-duplex, |
2202 |
Many systems support only socket pairs of the @code{AF_UNIX} |
so data can be transferred in either direction between the two. |
2203 |
family. Zero is likely to be the only meaningful value for |
|
2204 |
@var{proto}. |
@var{family}, @var{style} and @var{proto} are as per @code{socket} |
2205 |
|
above. But many systems only support socket pairs in the |
2206 |
|
@code{PF_UNIX} family. Zero is likely to be the only meaningful value |
2207 |
|
for @var{proto}. |
2208 |
@end deffn |
@end deffn |
2209 |
|
|
2210 |
@deffn {Scheme Procedure} getsockopt sock level optname |
@deffn {Scheme Procedure} getsockopt sock level optname |