You got a dream, you gotta protect it!
sock = socket(AF_INET, SOCK_STREAM, 0);int on = 1;int status = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (const char *)&on, sizeof(on));if (status == -1) perror("setsockopt() error");
看豪哥的Blog長知識!
長知識就太誇張了~~
看豪哥的Blog長知識!
回覆刪除長知識就太誇張了~~
回覆刪除