1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-15 12:00:13 +00:00

Added laikaS_acceptFrom() to lsocket.h, added LAIKA_MAGIC & LAIKA_MAGICLEN

This commit is contained in:
2022-01-24 10:17:54 -06:00
parent c9fdeba4c5
commit 48eebc1951
2 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
#ifndef LAIKA_PACKET_H
#define LAIKA_PACKET_H
#define LAIKA_MAGIC "LAI\x12"
#define LAIKA_MAGICLEN 4
typedef enum {
LAIKAPKT_HANDSHAKE_REQ,
LAIKAPKT_HANDSHAKE_RES,