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

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Franz_aRTiglio <franzgol@N0SPAMtin.it>
Newsgroups it.comp.lang.visual-basic
Subject Re: Socket communication - come renderla asincrona
Date Wed, 13 Sep 2017 17:55:35 +0200
Organization Aioe.org NNTP Server
Lines 19
Message-ID <opbkde$1d6c$1@gioia.aioe.org> (permalink)
References <opbe49$ptp$1@virtdiesel.mng.cu.mi.it>
NNTP-Posting-Host h6cmfplUtTNrj6Ru9T0CqQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
X-Newsreader MesNews/1.08.06.00-it
X-Notice Filtered by postfilter v. 0.8.2
X-ICQ 1931503972
Xref csiph.com it.comp.lang.visual-basic:19143

Show key headers only | 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