📄 net_list.c
字号:
#ifndef __NET_LIST_C__
#define __NET_LIST_C__
#include "net_list.h"
#include "TransferFile.h"
PCONNECT_LIST net_Connection_List = NULL;
void net_InsertItemIntoConnectList(LPVOID p)//(PCONNECT_LIST item)
{
// if (!net_Connection_List)
// {
// net_Connection_List = malloc(sizeof(CONNECT_LIST));
// memcpy(&net_Connection_List->addr, &item->addr, sizeof(SOCKADDR_IN));
// net_Connection_List->sock = item->sock;
// net_Connection_List->next = NULL;
// }
/*
else
{
PCONNECT_LIST p = net_Connection_List, pt = NULL;
while (p)
{
pt = p;
p = p->next;
}
p->next = item;
}
*/
}
#endif //__NET_LIST_C__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -