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

Method send

server/VGLTrans.cpp:379–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377
378
379void VGLTrans::send(char *buf, int len)
380{
381 try
382 {
383 if(socket) socket->send(buf, len);
384 }
385 catch(...)
386 {
387 vglout.println("[VGL] ERROR: Could not send data to client. Client may have disconnected.");
388 throw;
389 }
390}
391
392
393void VGLTrans::recv(char *buf, int len)

Callers 2

runMethod · 0.45
compressSendMethod · 0.45

Calls 2

printlnMethod · 0.80
sendHeaderMethod · 0.80

Tested by

no test coverage detected