wxThread::Entry()中使用wxSocket对象进行收发操作时,易引起下面的错误:
Glib-CRITICAL **: Source ID xxx wase not found when atttempting to remove it.
GLib-WARNING **: poll(2) failed due to: Invalid argument.
解决方法:用定时器替换线程
wxThread::Entry()中使用wxSocket对象进行收发操作时,易引起下面的错误:
Glib-CRITICAL **: Source ID xxx wase not found when atttempting to remove it.
GLib-WARNING **: poll(2) failed due to: Invalid argument.
解决方法:用定时器替换线程