Skip to content
Snippets Groups Projects
Commit 9d56070e authored by k2-alfadhala's avatar k2-alfadhala
Browse files

protocol header

parent c82d95f5
No related branches found
No related tags found
No related merge requests found
#ifndef PROTOCOL_H
#define PROTOCOL_H
void protocol_init(void);
int protocol_connect(const char* address, int port);
int protocol_send(int connectionHandle, const void* data, int dataSize);
int protocol_receive(int connectionHandle, void* buffer, int bufferSize);
void protocol_disconnect(int connectionHandle);
void protocol_cleanup(void);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment