1
This commit is contained in:
parent
f9222e376f
commit
6e5c873aec
@ -119,9 +119,7 @@ namespace a8
|
|||||||
void TcpClient2::DoSend()
|
void TcpClient2::DoSend()
|
||||||
{
|
{
|
||||||
if (!connected_) {
|
if (!connected_) {
|
||||||
if (on_connect) {
|
DoConnect();
|
||||||
on_connect(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(socket_ == -1){
|
if(socket_ == -1){
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user