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

@ -405,8 +405,26 @@ namespace f8
int seqid,
const char *msgbody,
int bodylen,
unsigned short tag,
std::any* user_data)
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,
const char *msgbody,
int bodylen,
unsigned short tag,
std::any* user_data)
{
impl_->AddSocketMsg(sockfrom,
socket_handle,

View File

@ -29,8 +29,15 @@ namespace f8
int seqid,
const char *buf,
int buflen,
unsigned short tag,
std::any* user_data);
unsigned short tag);
void AddSocketMsgAndUserData(unsigned short sockfrom,
long long socket_handle,
int msgid,
int seqid,
const char *buf,
int buflen,
unsigned short tag,
std::any* user_data);
char** GetArgv();
int GetArgc();
long long GetMsgNodeSize();