mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 16:54:06 +02:00
16 lines
302 B
C
16 lines
302 B
C
#pragma once
|
|
|
|
#include "../collection.h"
|
|
#include <netinet/in.h>
|
|
#include <sys/socket.h>
|
|
|
|
typedef struct sockaddr SockAddr;
|
|
typedef struct sockaddr_in SockAddrIn;
|
|
|
|
typedef struct {
|
|
int file;
|
|
SockAddrIn addr;
|
|
} ClientConnection;
|
|
|
|
DEFINE_STATIC_QUEUE(ClientConnection, ClientQueue, client_queue)
|