Send a socket between applications c#

后端 未结 2 856
一整个雨季
一整个雨季 2021-01-24 13:30

I would like to know if there is a way where you have a .net app name appA where it receives a tcp socket connection and then according to some rules will send the socket connec

2条回答
  •  猫巷女王i
    2021-01-24 14:12

    No need to forwarding the connection, it can be use to act as a middle men

    1. You receive the first connection
    2. Process some rules
    3. All ok, connect to AppB and everything that get's from AppA, send to AppB
    4. If Rules say "no", send an error to AppA

提交回复
热议问题