add stream mode

This commit is contained in:
skywind3000
2016-07-25 20:04:17 +08:00
parent 478275193b
commit f14622a495
2 changed files with 4 additions and 2 deletions

2
ikcp.h
View File

@@ -298,7 +298,7 @@ struct IKCPCB
void *user;
char *buffer;
int fastresend;
int nocwnd;
int nocwnd, stream;
int logmask;
int (*output)(const char *buf, int len, struct IKCPCB *kcp, void *user);
void (*writelog)(const char *log, struct IKCPCB *kcp, void *user);