Watt-32 tcp/ip  2.2 dev-rel.10
shutdown.c File Reference

Go to the source code of this file.


int W32_CALL shutdown (int s, int how)

Detailed Description

BSD shutdown().

Definition in file shutdown.c.

Function Documentation

int W32_CALL shutdown ( int  s,
int  how 
For tcp, should send RST if we get incoming data. Don't send ICMP error.
For tcp, should send FIN when all Tx data has been ack'ed. close_s(s) should be same as shutdown(s,SHUT_WR)

Definition at line 46 of file shutdown.c.

References _socklist_find().