Transmission plus immédiate via websockets

This commit is contained in:
2024-12-17 01:06:23 +01:00
parent 29c0a234d1
commit 0433e4695e
12 changed files with 448 additions and 12 deletions

5
client/utils/socket.ts Normal file
View File

@@ -0,0 +1,5 @@
import { io } from 'socket.io-client'
export const socket = io("http://192.168.1.198:3000", {
reconnection: true,
})