GATEWAY获取与设置(Linux C)
#include#include#include#include#include#include#include#include#include#includeint set_gateway(unsigned long gw){int skfd;struct rtentry rt;int err;skfd = socket(PF_INET, SOCK_DGRAM, 0);if (skf
·
已为社区贡献1条内容
所有评论(0)