Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
std.x.os.Reactor
.A high-level I/O event reactor interface that wraps over event notification systems like epoll, kqueue.
Plan is to get epoll done first, kqueue second, select third, then iocp/afd fourth.
std.x.os.Socket.setLinger(linger_for_num_seconds: ?u16) !void
.std.x.os.Socket.getRemoteAddress() !std.x.Socket.Address
.std.x.os.Socket.setKeepAlive(enabled bool) !void
.std.x.os.Socket.(r|R)eader(flags)
and std.x.os.Socket.(w|W)riter(flags)
.const std = @import("std"); | |
pub fn build(b: *std.Build) void { | |
// Standard target options allows the person running `zig build` to choose | |
// what target to build for. Here we do not override the defaults, which | |
// means any target is allowed, and the default is native. Other options | |
// for restricting supported target set are available. | |
const target = b.standardTargetOptions(.{}); | |
// Standard optimization options allow the person running `zig build` to select |