mirror of
https://github.com/drk1wi/portspoof.git
synced 2024-06-28 09:41:36 +00:00
Small corrections
This commit is contained in:
parent
600287f90f
commit
2840d11341
@ -78,7 +78,8 @@ void* process_connection(void *arg)
|
|||||||
char* msg;
|
char* msg;
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
|
|
||||||
|
usleep(100);
|
||||||
for(int i = 0; i < MAX_CLIENT_PER_THREAD; i++)
|
for(int i = 0; i < MAX_CLIENT_PER_THREAD; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -90,7 +91,7 @@ void* process_connection(void *arg)
|
|||||||
if(configuration->getConfigValue(OPT_NOT_NMAP_SCANNER))
|
if(configuration->getConfigValue(OPT_NOT_NMAP_SCANNER))
|
||||||
n = 1; // just reply...
|
n = 1; // just reply...
|
||||||
else
|
else
|
||||||
n = recv(threads[tid].clients[i], buffer,1, 0);
|
n = recv(threads[tid].clients[i], buffer,1000, 0);
|
||||||
|
|
||||||
|
|
||||||
// deal with different recv buffer size
|
// deal with different recv buffer size
|
||||||
|
Loading…
Reference in New Issue
Block a user