How can two C # applications send messages over a Wi-Fi network?

Suppose I have a C # application installed on 2 laptops connected to a Wi-Fi wireless LAN.

How can these applications send messages to each other? What method or library can I use? I heard about the use of sockets, but I have no idea how to work with them.

+3
source share
3 answers

You can use WCF to build a communication channel between two applications. WCF encapsulates sockets in a more manageable interface. You can run here .

+3

, , . ( TCP UDP , HTTP), , , - . , . . Google "# Sockets" "# HTTP" .., .

+1

- # ( , ) Socket, Binary Formatter. , .

+1

Source: https://habr.com/ru/post/1722193/


All Articles