HDTenEightyP's picture
Upload 115 files
00e6582 verified
Raw History Blame Contribute Delete
395 Bytes
#ifndef SERVER_H_INCLUDED
#define SERVER_H_INCLUDED
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
int match_addr(struct _Seafarer_Multiplayer_Server* SMS, struct sockaddr_in a, struct sockaddr_in b) {
return (a.sin_addr.s_addr == b.sin_addr.s_addr && a.sin_port == b.sin_port);
}
#endif // SERVER_H_INCLUDED