Last post Apr 05, 2016 06:17 AM by Fei Han - MSFT
Apr 03, 2016 03:03 PM|vRITHNER_ASPNET|LINK
Is there a way to use listen and write messages from/to a specific port ?
Basically, ,my need concerns vending machine (kiosk) interface (asp.net mvc): the machine can talk to the app and the app can talk to machine both through a specific port. The app Gui will react when receiving specific messages and app will ask the machine
to do some mechanic action with specific messages
I though using SignalR to have like this real-time client-server stuff and use also a web socket library to manage tcp stuff but I don't know how to mix them manage my scenario.
Any help would be great.
Thanks in advance
Apr 05, 2016 06:17 AM|Fei Han - MSFT|LINK
This sort of thing used to be the domain of connected TCP/IP services and peer to peer servers, but SignalR makes all of this available
using standard Web protocols, using the HTTP protocol and port 80 or any other HTTP port and with .NET services on the server side.
You could refer to this article to know the basic information of SignalR.