🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #4029

Re: -- l'applicazione con winsock si blocca alla chiusura

#4029
From: LuigiDb
Date: Mon, 22 Oct 2001 19:00
10 lines
1451 bytes
>         winsock.senddata "quit" & vbcrlf
>         winsock.close

guarda che winsock non � detto che abbia spedito i dati dopo il
senddata,anzi sicuramente no.Percio non conviene chiuderlo in quella maniera
ma dovresti sfruttare l'evento sendcomplete (qualcosa del genere non ricordo
bene).Se proprio vuoi chiuderlo dopo il send controllla lo stato del socket
dopo la chiusura e se risulta minore di 2 puoi uscire :))

ciao
Technical Details
Message-ID: <z1_A7.75174$1H1.7446624@news.infostrada.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mail
References: <9qhb62.3vs9cu3.1@alex.my.fqdn>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,effbf35de396546a
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2001-10-22 11:57:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mail
From: "LuigiDb" <nonono@nonono.it>
Newsgroups: free.it.visual-basic
References: <9qhb62.3vs9cu3.1@alex.my.fqdn>
Subject: Re: -- l'applicazione con winsock si blocca alla chiusura 
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <z1_A7.75174$1H1.7446624@news.infostrada.it>
Date: Mon, 22 Oct 2001 19:00:47 GMT
NNTP-Posting-Host: 151.33.144.75
X-Complaints-To: abuse@iol.it
X-Trace: news.infostrada.it 1003777247 151.33.144.75 (Mon, 22 Oct 2001 21:00:47 MET DST)
NNTP-Posting-Date: Mon, 22 Oct 2001 21:00:47 MET DST
Organization: [Infostrada]