elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Introducción a la Factorización De Semiprimos (RSA)


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  Multithread Socket (Thread per Socket)not Complete
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] 2 Ir Abajo Respuesta Imprimir
Autor Tema: Multithread Socket (Thread per Socket)not Complete  (Leído 8,776 veces)
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Multithread Socket (Thread per Socket)not Complete
« en: 3 Febrero 2012, 20:32 pm »

Good evening
First want to say a Big Thanks to my friend Rookie Learn to Fly for the amazng example with ThreadPool and for the Help on QQ .Yukun for the beautiful multithread Console example .


My next Step is to Create Multithread with Forms and use Events .Like Example with Winsocks Array
Thanks for the time

http://www.mediafire.com/?h3krt1mfrbf02c2
P.s sorry for my English


En línea

ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #1 en: 6 Febrero 2012, 19:45 pm »

No comments   ?
 


En línea

m0rf


Desconectado Desconectado

Mensajes: 828


BACK!


Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #2 en: 9 Febrero 2012, 09:41 am »

Can you put it on pastebin?
En línea

Si todos fuéramos igual de inteligentes no existiría la mediocridad porque no podríamos apreciarla. Aprecias la mediocridad?
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #3 en: 9 Febrero 2012, 16:15 pm »

Sorry 

what is it  ?
Thanks for the reply 
En línea

m0rf


Desconectado Desconectado

Mensajes: 828


BACK!


Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #4 en: 9 Febrero 2012, 17:20 pm »

Search on google.
En línea

Si todos fuéramos igual de inteligentes no existiría la mediocridad porque no podríamos apreciarla. Aprecias la mediocridad?
Speeding

Desconectado Desconectado

Mensajes: 16


Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #5 en: 9 Febrero 2012, 18:28 pm »

Search on google.

You're asking him to use paste bin. So your answer is really stupid and not polite.
En línea

a
79137913


Desconectado Desconectado

Mensajes: 1.169


4 Esquinas


Ver Perfil WWW
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #6 en: 9 Febrero 2012, 18:48 pm »

HELLO!!!

You're asking him to use paste bin. So your answer is really stupid and not polite.

+1



I really do not understand this to much...
The regular sockets (winsock and socketmaster) already are multithread i think.

For example with 2 winsocks i have this code:
Código:
Private sub Winsock1 data arrival()
Do
doevents
Loop
end sub
Private sub winsock2 data arrival()
Debug.print "a"
end sub

If i send information to the first socket the program will enter in an endless loop but if while the program its in that loop i send information to socket2 it will print "a" in the debug window.

it's like reinvent the wheel.

Plz correct me if im wrong.

P.D: I don't read the code, i only have tested the software.

THANKS FOR READING!!!
En línea

"Como no se puede igualar a Dios, ya he decidido que hacer, ¡SUPERARLO!"
"La peor de las ignorancias es no saber corregirlas"

 79137913                          *Shadow Scouts Team*
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #7 en: 9 Febrero 2012, 19:21 pm »

Good afternoon 
My friend  79137913 regural in vb 6.0 the socket work one by one Like (First Send after Second  after third etc)
In my Example  u can see the Sockets work at the same time .
all the sockets send at the same moment 
Hope  explain a bit 


En línea

79137913


Desconectado Desconectado

Mensajes: 1.169


4 Esquinas


Ver Perfil WWW
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #8 en: 10 Febrero 2012, 01:00 am »

HELLO!!!

Oh! i see this socket sends and recive with multithread, and the regular socket only recive with multithread.

Cool but! (i allways have a but in my pocket XD)
with the regular sockets with this code:

Código:
Public sub SendInformation()
Winsock1.senddata 5mbDatastring
Winsock2.senddata 5mbDataString
End Sub

The first socket will start the sending process and the code will go to the next instruction winsock2.senddata 5mbDataString when the second socket starts the process the winsock1 and 2 would be sending at the same time.

What do you think?

THANKS FOR READING!!!
En línea

"Como no se puede igualar a Dios, ya he decidido que hacer, ¡SUPERARLO!"
"La peor de las ignorancias es no saber corregirlas"

 79137913                          *Shadow Scouts Team*
BlackZeroX
Wiki

Desconectado Desconectado

Mensajes: 3.158


I'Love...!¡.


Ver Perfil WWW
Re: Multithread Socket (Thread per Socket)not Complete
« Respuesta #9 en: 10 Febrero 2012, 08:39 am »

Note: The multi thread are unstable in vb6

Dulces Lunas!¡.
En línea

The Dark Shadow is my passion.
Páginas: [1] 2 Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Socket and MultiThread
Programación Visual Basic
ntaryl 8 5,018 Último mensaje 6 Marzo 2010, 18:03 pm
por ntaryl
Multithread socket (Activex)
Programación Visual Basic
ntaryl 0 1,472 Último mensaje 2 Abril 2010, 21:17 pm
por ntaryl
Leandro Socket and Multithread
Programación Visual Basic
ntaryl 1 2,161 Último mensaje 6 Mayo 2010, 21:23 pm
por LeandroA
Socket and Multithread
Programación Visual Basic
ntaryl 2 2,460 Último mensaje 7 Septiembre 2010, 18:19 pm
por ntaryl
problema server socket thread
Java
momo1234 1 2,829 Último mensaje 12 Mayo 2012, 17:20 pm
por momo1234
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines