MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / send

Method send

client/VGLTransReceiver.cpp:306–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305
306void VGLTransReceiver::Listener::send(char *buf, int len)
307{
308 try
309 {
310 if(socket) socket->send(buf, len);
311 }
312 catch(...)
313 {
314 vglout.println("Error sending data to server. Server may have disconnected.");
315 vglout.println(" (this is normal if the application exited.)");
316 throw;
317 }
318}
319
320
321void VGLTransReceiver::Listener::recv(char *buf, int len)

Callers

nothing calls this directly

Calls 1

printlnMethod · 0.80

Tested by

no test coverage detected