Skip to content

Commit

Permalink
ipc: track lengths of data sent via sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 7, 2024
1 parent 53664e3 commit cf69a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/kernel/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ typedef struct SocketDescriptor {
int type, protocol, backlogMax, backlogCount;
int inboundCount, outboundCount;
void **inbound, **outbound;
size_t *inboundLen, *outboundLen;
struct SocketDescriptor **backlog; // for incoming connections via connect()
struct SocketDescriptor *peer; // for peer-to-peer connections
} SocketDescriptor;
Expand Down

0 comments on commit cf69a83

Please sign in to comment.