postnummer-app/backend/windows.c

22 lines
523 B
C
Raw Normal View History

2023-02-10 16:39:04 +00:00
#include "tcp.h"
#include <BaseTsd.h>
#include <WS2tcpip.h>
#include <WinSock2.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
2023-02-09 12:37:00 +00:00
2023-02-10 16:39:04 +00:00
struct TcpServer { };
2023-02-09 12:37:00 +00:00
2023-02-10 16:39:04 +00:00
struct TcpConnection { };
2023-02-09 12:37:00 +00:00
2023-02-10 16:39:04 +00:00
void tcp_global_initialize_sockets(void) { }
TcpServer* tcp_server_create(const char* ip, uint16_t port) { }
void tcp_connection_destroy(TcpConnection* connection) { }
ssize_t tcp_recieve(TcpConnection* connection, uint8_t* data, size_t amount) { }
ssize_t tcp_send(TcpConnection* connection, uint8_t* data, size_t amount) { }