1sock_shutdown(3z)          z88dk Programmer's Manual         sock_shutdown(3z)
2
3
4

NAME

6       sock_shutdown - abort a network connection
7

SYNOPSIS

9       #include <net/socket.h>
10
11       void sock_close(SOCKET *s);
12

DESCRIPTION

14       The  parameter  s  is  a  descriptor  to  an  open socket created using
15       sock_open(3z) or sock_listen(3z).
16
17       The sock_shutdown() function wipes all trace of the socket s  from  the
18       system.   It   should   be  preceded  by  either  a  sock_close(3z)  or
19       sock_abort(3z) depending on the circumstances.
20
21

RETURN VALUE

23       None
24
25

SEE ALSO

27       sock_close(3z), sock_abort(3z)
28
29

AUTHOR

31       Dominic Morris <dom@jb.man.ac.uk>
32
33
34
35
36                               18 February 2000              sock_shutdown(3z)
Impressum