mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
windows build
This commit is contained in:
parent
3ad212f066
commit
4ccc65fa91
@ -85,8 +85,8 @@ bool OSocketStream::
|
||||
send_datagram(const Datagram &dg) {
|
||||
Datagram header;
|
||||
header.add_uint16(dg.get_length());
|
||||
write(header.get_data(), header.get_length());
|
||||
write(dg.get_data(), dg.get_length());
|
||||
write((const char *)header.get_data(), header.get_length());
|
||||
write((const char *)dg.get_data(), dg.get_length());
|
||||
flush();
|
||||
|
||||
return !is_closed();
|
||||
@ -157,8 +157,8 @@ bool SocketStream::
|
||||
send_datagram(const Datagram &dg) {
|
||||
Datagram header;
|
||||
header.add_uint16(dg.get_length());
|
||||
write(header.get_data(), header.get_length());
|
||||
write(dg.get_data(), dg.get_length());
|
||||
write((const char *)header.get_data(), header.get_length());
|
||||
write((const char *)dg.get_data(), dg.get_length());
|
||||
flush();
|
||||
|
||||
return !is_closed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user