master
1pub const Protocols: struct {
2 list: *const fn (*Connection) void = undefined,
3 handShake: type = struct {
4 const stepStart: u8 = 0;
5 },
6} = .{};
7
8pub const Connection = struct {
9 streamBuffer: [0]u8 = undefined,
10 __lastReceivedPackets: [0]u8 = undefined,
11
12 handShakeState: u8 = Protocols.handShake.stepStart,
13};
14
15pub fn main() void {
16 var conn: Connection = undefined;
17 _ = &conn;
18}
19
20// run
21//