web api - TcpListener in Webapi using C# -
is there sample code or startup documentation running threads in webapi project. have grouping 1 client devices , want them (group 1) communicate webapi using tcp communication , have grouping 2 client devices , want them (group 2) communicate webapi using http get/posts. how can that?
i discourage doing that. webapi projects (selfhosted excluded) controlled iis application pool. means project can closed/restarted @ time.
in other words: can not guarantee tcp listener keeps running in iis project.
it sounds more want utilize websockets communicate users.
c# web-api tcplistener
No comments:
Post a Comment