나는 어떻게 시작 해야할지 모르겠다. 인터넷 검색 후, 나는이 here 발견했습니다같은 컴퓨터에있는 두 프로그램 간의 통신 - 어떻게?
//This is how you do it (kudos to sipwiz)
UdpClient udpServer = new UdpClient(localpt);
//This is what the proprietary (see question) sender would do (nothing special)
//!!! The following 3 lines is what the poster needs...
//(and the definition of localpt, of course)
UdpClient udpServer2 = new UdpClient();
udpServer2.Client.SetSocketOption(
SocketOptionLevel.Socket,
SocketOptionName.ReuseAddress, true);
udpServer2.Client.Bind(localpt);
을하지만 내가 필요한 그 밖의 무엇을 모른다. here에서 예제를 시도했지만 오류 메시지가 나타났습니다. "기존 연결이 원격 호스트에 의해 강제로 닫혔습니다."
어떻게 진행하나요?