mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-11-25 17:43:15 +00:00
c237bd661f
This is adapted from NetDisk with minor changes.
17 lines
269 B
C
17 lines
269 B
C
#ifndef READTCP_H
|
|
#define READTCP_H
|
|
|
|
#include "session.h"
|
|
|
|
typedef enum ReadStatus {
|
|
rsDone,
|
|
rsWaiting,
|
|
rsError,
|
|
rsTimedOut
|
|
} ReadStatus;
|
|
|
|
void InitReadTCP(Session *sess, LongWord readCount, void *readPtr);
|
|
ReadStatus TryReadTCP(Session *sess);
|
|
|
|
#endif
|