1sock_flush(3z) z88dk Programmer's Manual sock_flush(3z)
2
3
4
6 sock_flush - flush a network connection
7
9 #include <net/socket.h>
10
11 void sock_flush(SOCKET *s);
12
14 The parameter s is a descriptor to an open socket created using
15 sock_open(3z) or sock_listen(3z). The socket should be of type
16 prot_TCP.
17
18 The sock_flush() function will depending on the state of the connection
19 either immediately send any pending data in the socket buffer or flag
20 the data for sending in the next timer call.
21
22
24 None
25
26
28 Dominic Morris <dom@jb.man.ac.uk>
29
30
31
32 18 February 2000 sock_flush(3z)