MCPcopy Create free account
hub / github.com/TASEmulators/fceux / MakeSendTCP

Function MakeSendTCP

fceux-server/server.cpp:472–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472static int MakeSendTCP(ClientEntry *client, uint8 *data, uint32 len) throw()
473{
474 if(send(client->TCPSocket, data, len, MSG_NOSIGNAL) != len)
475 throw(1);
476
477 return(1);
478}
479
480static void SendToAll(GameEntry *game, int cmd, uint8 *data, uint32 len) throw()
481{

Callers 4

SendToAllFunction · 0.85
TextToClientFunction · 0.85
AddClientToGameFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected