<< Previous | Index | Next >>

sock_iface


byte sock_iface( void *s );

Description

Retrieve the interface number of an open socket. May return IF_ANY for unbound sockets.

Parameter

s

Pointer to open TCP or UDP socket.

Return Value

Interface number (0..IF_MAX-1).
IF_ANY: If the socket is unbound.

Library

NET.LIB

See Also

tcp_extopen, udp_extopen, tcp_extlisten


TCP/IP Manual
Vol 1
<<Previous | Index | Next>> rabbit.com