use write

This commit is contained in:
Jeff Becker 2018-02-16 08:33:19 -05:00
parent cdc5fce583
commit 48cc0f4289
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -212,7 +212,7 @@ namespace client
ss << ".b32.i2p:";
ss << std::to_string(fromPort);
ss << "\n";
ss << std::string((char *)buf, len);
ss.write((char *)buf, len);
conn->send(ss.str());
}
}