46b2ed80ae
Another nuke! This time, trying to do a client <-> server thing. Also a bit of messing with Lua.
9 lines
532 B
C
9 lines
532 B
C
#pragma once
|
|
|
|
#include <SDL_net.h>
|
|
|
|
int Buffer_Write_UDP (UDPsocket udpsock, const int channel, const size_t mtu, const void* buf, const size_t size);
|
|
int File_Write_UDP (UDPsocket udpsock, const int channel, const size_t mtu, const char* path);
|
|
int SendFile_UDP (const char* host, const Uint16 port, const int channel, const size_t mtu, const char* path);
|
|
int SendBuffer_UDP (const char* host, const Uint16 port, const int channel, const size_t mtu, const void* buf, const size_t size);
|