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

View File

@ -29,8 +29,15 @@ namespace f8
int seqid, int seqid,
const char *buf, const char *buf,
int buflen, int buflen,
unsigned short tag, unsigned short tag);
std::any* user_data); 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(); char** GetArgv();
int GetArgc(); int GetArgc();
long long GetMsgNodeSize(); long long GetMsgNodeSize();