R
RoninHao
Unregistered / Unconfirmed
GUEST, unregistred user!
我用的CBuild 6
我用Client连接到Server,然后Server端发送一个包过来,我在Client端的OnWork事件中写
void __fastcall TDataModule1::TCPClientWork(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCount)
{
if (AWorkMode == wmRead)
{
.......
}
}
但是这个事件根本就么有被触发..这是怎么回事啊? 是我写错了地方嘛?
我用Client连接到Server,然后Server端发送一个包过来,我在Client端的OnWork事件中写
void __fastcall TDataModule1::TCPClientWork(TObject *Sender,
TWorkMode AWorkMode, const int AWorkCount)
{
if (AWorkMode == wmRead)
{
.......
}
}
但是这个事件根本就么有被触发..这是怎么回事啊? 是我写错了地方嘛?