mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 03:34:48 +00:00
Reuse port
This lets me dev cycle faster Shouldn't have to do this though, should be cleaning up properly
This commit is contained in:
@@ -39,7 +39,7 @@ pub fn main(gpa: std.mem.Allocator, server_config: ServerInfo) !void {
|
||||
var tcp_server = try std.Io.net.IpAddress.listen(try std.Io.net.IpAddress.parse(
|
||||
server.info.host,
|
||||
server.info.port,
|
||||
), io, .{});
|
||||
), io, .{ .reuse_address = true });
|
||||
defer tcp_server.deinit(io);
|
||||
|
||||
var id: usize = 0;
|
||||
|
||||
Reference in New Issue
Block a user