| 58 | } |
| 59 | |
| 60 | int MultiCastServer::send (void *data, int size) |
| 61 | { |
| 62 | int res = ::sendto (server_socket, (char *)data, size, 0, (struct sockaddr *)&server_addr, |
| 63 | sizeof (server_addr)); |
| 64 | if (res == SOCKET_ERROR) |
| 65 | { |
| 66 | return -1; |
| 67 | } |
| 68 | return res; |
| 69 | } |
| 70 | |
| 71 | void MultiCastServer::close () |
| 72 | { |
no outgoing calls
no test coverage detected