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
zig-cache/ | |
zig-out/ | |
/release/ | |
/debug/ | |
/build/ | |
/build-*/ | |
/docgen_tmp/ | |
.DS_Store |
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
#include <memory.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define int long long // work with 64bit target | |
int token; | |
int *text, *old_text, *stack; | |
char *data; |
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
#include <string.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <unistd.h> | |
int main() { | |
int server_fd, new_socket; | |
struct sockaddr_in address; | |
int addrlen = sizeof(address); | |
char buffer[1024] = {0}; |