Logo by Irenicus giovedì 24-mag-12 07:00


RaulKen.It :: Leggi il Topic - Winsock & visual basic
 FAQFAQ   CercaCerca   Gruppi utentiGruppi utenti   ProfiloProfilo   Messaggi PrivatiMessaggi Privati   LoginLogin 

Winsock & visual basic

 
Nuovo Topic   Rispondi    Indice del forum -> Programmazione
Precedente :: Successivo  
Autore Messaggio
antonio88m
Frequentatore del Forum
Frequentatore del Forum


Registrato: Feb 09, 2004
Messaggi: 171
Località: Arcore

MessaggioInviato: Ven Apr 07, 2006 4:52 pm    Oggetto: Winsock & visual basic Rispondi citando

Sto cercando una classe winsock che abbia la stessa funzione di winsock.ocx di visual basic.
Cercando ho trovato questa: http://www.killervb.com/WinsockLib.aspx
xò viene generato l'errore 40006.
In un commento alla classe ce scritto:
Citazione:
I was getting a 40006 error. When connecting, it seems I was getting an FD_READ event before FD_CONNECT (where the socket transitioned from sckConnecting to sckConnected). I noticed that in the connect method, you are setting FD_READ as well as FD_CONNECT and FD_CLOSE. And then in the FD_READ handler masking the FD_CONNECT flag. I changed this as follows: in the connect method, only set the FD_CONNECT and FD_CLOSE. Then in the FD_CONNECT handler reset the event flags to FD_READ and FD_CLOSE. This seemed to fix my problem (at least so far.....). I woul dbe interested in your comments as to if this is appropriate or if there may be a better solution.


Come devo fare a correggere l'errore?
GRAZIE A TUTTI
_________________
Ci sono 10 tipi di persone: chi conosce l'informatica e chi no.

www.mrweb88.altervista.org

Un progetto di trojan sviluppato da me e Marco ma ancora in grande fase di evoluzione: www.epriam.altervista.org
Torna in cima
Profilo Messaggio privato HomePage MSN Messenger
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Indice del forum -> Programmazione Tutti i fusi orari sono GMT + 1 ora
Pagina 1 di 1

 
Vai a:  
Non puoi inserire nuovi Topic in questo forum
Non puoi rispondere ai Topic in questo forum
Non puoi modificare i tuoi messaggi in questo forum
Non puoi cancellare i tuoi messaggi in questo forum
Non puoi votare nei sondaggi in questo forum

Powered by phpBB © 2001, 2005 phpBB Group


PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Generazione pagina: 0.14 Secondi