#1 2017-03-29 03:21:54

rmb932
Member
Registered: 2017-03-29
Posts: 1

can anyone implement a Tcpserver and tcpclient on mormot?

can anyone implement a Tcpserver and tcpclient on mormot?
use SynCrtSock

Offline

#2 2017-03-29 10:41:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,244
Website

Re: can anyone implement a Tcpserver and tcpclient on mormot?

Yes.

And for high-performance TCP/IP server, consider the "SQLite3\Samples\34 - Socket Polling" sample.

Offline

#3 2017-03-29 13:22:59

igors233
Member
Registered: 2012-09-10
Posts: 234

Re: can anyone implement a Tcpserver and tcpclient on mormot?

This is an interesting topic, can TRTSPOverHTTPServer be only used for video/meadia streaming or fos something else?

Last edited by igors233 (2017-03-29 14:09:38)

Offline

#4 2017-03-29 19:52:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,244
Website

Re: can anyone implement a Tcpserver and tcpclient on mormot?

In the first intent, it was meant for IoT server connection and clients emulation, with high number of concurrent connections.
To handle thousands of permanent IoT connections with low resources, and a cheap Linux server.

So yes, it is a high-performance TCP server and client, so it is perfect for any kind of TCP content, including WebSockets (I want to do it) and even other protocols, like HTTP.

Offline

Board footer

Powered by FluxBB