All Projects → seryal → sywebsocket

seryal / sywebsocket

Licence: other
WebSocket Server and Client

Programming Languages

pascal
1382 projects

Projects that are alternatives of or similar to sywebsocket

remoting
Jetlang Remoting - asynchronous distributed messaging
Stars: ✭ 27 (+68.75%)
Mutual labels:  websocket-server, websocket-client
text
An experiment with WebSockets and the human condition.
Stars: ✭ 51 (+218.75%)
Mutual labels:  websocket-server, websocket-client
Embedded Jetty Websocket Examples
Embedded Jetty WebSocket Examples
Stars: ✭ 159 (+893.75%)
Mutual labels:  websocket-server, websocket-client
Sketchpad
Sketchpad is fully customisable collaborative whiteboard plugin written in pure JavaScript.
Stars: ✭ 85 (+431.25%)
Mutual labels:  websocket-server, websocket-client
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (+318.75%)
Mutual labels:  websocket-server, websocket-client
Arduinowebsockets
arduinoWebSockets
Stars: ✭ 1,265 (+7806.25%)
Mutual labels:  websocket-server, websocket-client
Ixwebsocket
websocket and http client and server library, coming with ws, a command line swiss army knife utility
Stars: ✭ 204 (+1175%)
Mutual labels:  websocket-server, websocket-client
Stl.fusion
Get real-time UI updates in Blazor apps and 10-1000x faster API responses with a novel approach to distributed reactive computing. Fusion brings computed observables and automatic dependency tracking from Knockout.js/MobX/Vue to the next level by enabling a single dependency graph span multiple servers and clients, including Blazor apps running in browser.
Stars: ✭ 858 (+5262.5%)
Mutual labels:  websocket-server, websocket-client
WebSocketListener
A lightweight and highly scalable asynchronous WebSocket listener
Stars: ✭ 70 (+337.5%)
Mutual labels:  websocket-server, websocket-client
Rockets
REST and websockets C++ library
Stars: ✭ 39 (+143.75%)
Mutual labels:  websocket-server, websocket-client
Deno Websocket
🦕 A simple WebSocket library like ws of node.js library for deno
Stars: ✭ 74 (+362.5%)
Mutual labels:  websocket-server, websocket-client
tornado-websocket-client-example
Websocket client application example built on top of Tornado.
Stars: ✭ 34 (+112.5%)
Mutual labels:  websocket-server, websocket-client
Websocket
A PHP implementation of WebSocket.
Stars: ✭ 54 (+237.5%)
Mutual labels:  websocket-server, websocket-client
Php Wss
Web-socket server/client with multi-process and parse templates support on server and send/receive options on client
Stars: ✭ 117 (+631.25%)
Mutual labels:  websocket-server, websocket-client
Jiny
Lightweight, modern, simple JVM web framework for rapid development in the API era
Stars: ✭ 40 (+150%)
Mutual labels:  websocket-server, websocket-client
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+20868.75%)
Mutual labels:  websocket-server, websocket-client
Oatpp Websocket
oatpp-websocket submodule.
Stars: ✭ 26 (+62.5%)
Mutual labels:  websocket-server, websocket-client
Awesome Websockets
A curated list of Websocket libraries and resources.
Stars: ✭ 850 (+5212.5%)
Mutual labels:  websocket-server, websocket-client
Websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Stars: ✭ 3,477 (+21631.25%)
Mutual labels:  websocket-server, websocket-client
racket-rfc6455
RFC 6455 WebSockets support for Racket.
Stars: ✭ 32 (+100%)
Mutual labels:  websocket-server, websocket-client

sywebsocket

Websocket Server and Client for Lazarus Applications.

Requirements:

https://github.com/svn2github/Ararat-Synapse/tree/master/trunk

For Windows:

TESTED

For Ubuntu:

TESTED

Example

var
  FWebSocket: TsyWebSocketServer;  

begin
  FWebSocket := TsyWebSocketServer.Create(8081);
  FWebSocket.OnTextMessage := @OnTextMessage;
  FWebSocket.Start;
end;            

procedure OnTextMessage(Sender: TObject);
var
  val: TMessageRecord;
begin
  if not Assigned(FWebSocket) then
    exit;
  while FWebSocket.MessageQueue.TotalItemsPushed <> FWebSocket.MessageQueue.TotalItemsPopped do
  begin
    FWebSocket.MessageQueue.PopItemTimeout(val, 100);
    if val.Opcode = optText then
    begin
      Memo1.Lines.Add(IntToStr(TsyConnectedClient(val.Sender).Tag) + ': ' + val.Message);
    end;
  end;
end;   

Page for test https://www.websocket.org/echo.html

RFC 6455

Server test result

Autobahn WebSocket Testsuite v0.8.0/v0.10.9. results. (https://github.com/crossbario/autobahn-testsuite)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].