![]() |
![]() |
![]() |
![]() |
Shut down part of a full-duplex connection
#include <sys/socket.h> int shutdown( int s, int how );
socket3r.lib, socket3s.lib
The shutdown() call shuts down all or part of a full-duplex connection on the socket associated with s.
If how is: | The TCP/IP manager won't allow: |
---|---|
0 | Further receives |
1 | Further sends |
2 | Further sends and receives |
Standard Unix, POSIX 1003.1g (draft)
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
close() in the C Library Reference
![]() |
![]() |
![]() |
![]() |