SimpleNetwork icon indicating copy to clipboard operation
SimpleNetwork copied to clipboard

simple TCP server / client C++ linux socket

Results 9 SimpleNetwork issues
Sort by recently updated
recently updated
newest added

Hi there! I was running my fuzzer in the background when I discovered a double free in the SimpleNetwork TCPServer. ## Impact Triggering the double free will allow client to...

Hi, kashimAstro please check your update for solve the Issue #10 g++ -Wall -o server server.cpp -I../src/ ../src/TCPServer.cpp ../src/TCPClient.cpp -std=c++11 -lpthread server.cpp: In function ‘void* received(void*)’: server.cpp:53:13: error: could not...

void TCPServer::accepted() { socklen_t sosize = sizeof(clientAddress); descript_socket *so = new descript_socket; so->socket = accept(sockfd,(struct sockaddr*)&clientAddress,&sosize); so->id = num_client; so->ip = inet_ntoa(clientAddress.sin_addr); newsockfd.push_back( so ); cerr

if( (setsockopt(sockfd, SOL_SOCKET, opts.size(), (char *)&opt, sizeof(opt))) < 0 ) { cerr >>> if( (setsockopt(sockfd, SOL_SOCKET, opts.at(i), (char *)&opt, sizeof(opt))) < 0 ) { cerr

I'm a beginner of cpp and linux, and I'm wondering about this.

need steps to be followed to configure this project

The reasion is no cleaning to Message member in the Task function. Since Message is a duplicate of newsockfd, remove the Message member will solve the problem

Hi! I was running my fuzzer in the background again when I discovered a global buffer overflow bug in the SimpleNetwork TCPServer. ## Compiling the project ``` $ cd src...