#ifdef WIN32
# include < winsock2.h >
#else
# include < netdn.h >
# include < inet.h >
# include < socket.h>
# include
# indlude
#endif
像這樣的 code, gcc 報錯
for(int i = low; i <= high; ++i)
需要在 cflags 加 -std=c99, 或是不要在 for loop 宣告變數
sudo smbpasswd -a
you'll be asked for a password, use your normal one
FOR /L %I IN (6100,1,6200) DO netsh firewall add portopening UDP %I "UDP"%I
FOR /L %I IN (6100,1,6200) DO netsh firewall delete portopening UDP %I