manual testing
Some checks failed
Test and Deploy / test (push) Failing after 10s
Test and Deploy / docs (push) Has been skipped

This commit is contained in:
2024-07-07 20:05:32 -07:00
parent 1424925cbf
commit c52712471f
5 changed files with 43 additions and 14 deletions

15
tests/netmanual.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
#include <errno.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdlib.h>
#include <unistd.h>
#include "lfnetwork.h"
int main(int argc, char **argv) {
Server *server = new_server(SERVERTYPE_TCP, "18632", handler_tcp_echo);
serve(server, DEFAULT_BACKLOG);
delete_server(server);
}