22 lines
523 B
C
22 lines
523 B
C
#include "tcp.h"
|
|
#include <BaseTsd.h>
|
|
#include <WS2tcpip.h>
|
|
#include <WinSock2.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
struct TcpServer { };
|
|
|
|
struct TcpConnection { };
|
|
|
|
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) { }
|