This commit is contained in:
aozhiwei 2024-12-22 21:35:01 +08:00
parent e1ab21d022
commit 8e1aa6c19b
2 changed files with 29 additions and 4 deletions

View File

@ -400,6 +400,24 @@ namespace f8
}
void App::AddSocketMsg(unsigned short sockfrom,
long long socket_handle,
int msgid,
int seqid,
const char *msgbody,
int bodylen,
unsigned short tag)
{
impl_->AddSocketMsg(sockfrom,
socket_handle,
msgid,
seqid,
msgbody,
bodylen,
tag,
nullptr);
}
void App::AddSocketMsgAndUserData(unsigned short sockfrom,
long long socket_handle,
int msgid,
int seqid,

View File

@ -24,6 +24,13 @@ namespace f8
bool Terminated();
void Terminate();
void AddSocketMsg(unsigned short sockfrom,
long long socket_handle,
int msgid,
int seqid,
const char *buf,
int buflen,
unsigned short tag);
void AddSocketMsgAndUserData(unsigned short sockfrom,
long long socket_handle,
int msgid,
int seqid,