-
-
Save haze/c4bf44f1ff19131d7408f8b491ac40a6 to your computer and use it in GitHub Desktop.
(no description)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/scratch ./tcp | |
error: WouldBlock | |
/Users/haze/zig/build/lib/zig/std/os.zig:2551:61: 0x10991abb8 in std.os.connect (tcp) | |
const loop = std.event.Loop.instance orelse return error.WouldBlock; | |
^ | |
/Users/haze/zig/build/lib/zig/std/net.zig:413:5: 0x10991865a in std.net.tcpConnectToAddress (tcp) | |
try os.connect(sockfd, &address.any, address.getOsSockLen()); | |
^ | |
/Users/haze/scratch/tcp.zig:8:20: 0x1099180fd in main (tcp) | |
const socket = try net.tcpConnectToAddress(try net.Address.parseIp("127.0.0.1", 5000)); | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment