「🏗️」 wip: wtf is going on
This commit is contained in:
22
3
Normal file
22
3
Normal file
@ -0,0 +1,22 @@
|
||||
#include <sys/select.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
char recv_buf[3000];
|
||||
char send_buf[3000];
|
||||
|
||||
int maxfd;
|
||||
int lastid = 0;
|
||||
int sockfd;
|
||||
|
||||
int main(int ac, char **av) {
|
||||
|
||||
sockfd = socket(AF_INET, SOCK_STREAM, 0);
|
||||
|
||||
while (1) {
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user