Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19143

Re: Socket communication - come renderla asincrona

From Franz_aRTiglio <franzgol@N0SPAMtin.it>
Newsgroups it.comp.lang.visual-basic
Subject Re: Socket communication - come renderla asincrona
Date 2017-09-13 17:55 +0200
Organization Aioe.org NNTP Server
Message-ID <opbkde$1d6c$1@gioia.aioe.org> (permalink)
References <opbe49$ptp$1@virtdiesel.mng.cu.mi.it>

Show all headers | View raw


RobertoA ci ha detto :

> Uso il seguente codice per un piccolo socket server (riceve comandi da 
> terminali remoti):
> -----------------------------------------------------------------
> IPEndPoint ipEnd = new IPEndPoint(IPAddress.Any, 1234);

La porta 1234 e' usata da vari trojoni e backdoors, non mi stupirebbe
che l'antivirus stia fracassando i marroni.

> sock.Listen(100);

Perchè apri 100 sockets ? A memoria mia, sempre che io non stia facendo
confusione tra pere e banane (non conosco .net quindi vado a braccio),
windows XP sp3 accetta max 9 socket per applicazione (in ascolto, le
cosiddette half-open), mi sembra che questo limite sia stato mantenuto
anche successivamente per limitare i trojoni backdoors, prova a vedere
se aprendo meno sockets (magari parti da 5) il programma non 
s'inchioda.

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Socket communication - come renderla asincrona RobertoA <amorosik@tiscalinet.it> - 2017-09-13 16:22 +0200
  Re: Socket communication - come renderla asincrona Franz_aRTiglio <franzgol@N0SPAMtin.it> - 2017-09-13 17:55 +0200
    Re: Socket communication - come renderla asincrona RobertoA <amorosik@tiscalinet.it> - 2017-09-14 19:12 +0200

csiph-web