NetBurner 3.5.6
PDF Version
fdfuncs.h
1
2/*NB_REVISION*/
3
4/*NB_COPYRIGHT*/
5
6
21#ifndef _NB_FD_FUNCS_H
22#define _NB_FD_FUNCS_H
23
24
25int GetFdBelow(int fd);
26const char * GetFdTypeName(int fd);
27int GetRxBufferSpaceUsed(int fd);
28int GetRxBufferSpaceAvail(int fd);
29int GetTxBufferAvailSpace(int fd);
30int GetTxBufferWaiting(int fd);
31
32//Returns true if all the data has been sent to the other side and has been acknowledged.
33//Requires that the whole stack be clear, ie ws->tls->tcp.
34bool AllTxSent(int fd);
35
36int SetRxBufferSpaceAvail(int fd, int space);
37int SetTxBufferAvailSpace(int fd,int space);
38
39//Should this socket flush the whole content stack on each write.
40void SetFlush(int fd,bool bDoFlush);
41
42#endif
43