예제 #1
0
        public async Task SendAnswerToServer(SocketData serverData, string clientAnswer)
        {
            var notification = new PeerAnswerNotification(clientAnswer);

            await SendMessageAsync(serverData.Socket, notification);
        }
예제 #2
0
        public async Task SendServerAvailable(SocketData socketData, string serverOffer)
        {
            var response = new ServerAvailableNotification(serverOffer);

            await SendMessageAsync(socketData.Socket, response);
        }