mirror of
https://github.com/skywind3000/kcp.git
synced 2026-08-19 06:03:28 +08:00
new comment
This commit is contained in:
6
ikcp.c
6
ikcp.c
@@ -340,7 +340,7 @@ void ikcp_release(ikcpcb *kcp)
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// recv data
|
||||
// user/upper level recv: returns size, returns below zero for EAGAIN
|
||||
//---------------------------------------------------------------------
|
||||
int ikcp_recv(ikcpcb *kcp, char *buffer, int len)
|
||||
{
|
||||
@@ -423,7 +423,7 @@ int ikcp_recv(ikcpcb *kcp, char *buffer, int len)
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// send data
|
||||
// peek data size
|
||||
//---------------------------------------------------------------------
|
||||
int ikcp_peeksize(const ikcpcb *kcp)
|
||||
{
|
||||
@@ -451,7 +451,7 @@ int ikcp_peeksize(const ikcpcb *kcp)
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// send data
|
||||
// user/upper level send, returns below zero for error
|
||||
//---------------------------------------------------------------------
|
||||
int ikcp_send(ikcpcb *kcp, const char *buffer, int len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user