ow do i get my server to talk to my clients, i have a muitl threaded server setup and can get the client data entered to appear on the server with Console.WriteLine(Encoding.ASCII.GetString(data, 0, recv));
when using multi-threading - one thing that you should always consider is its "THREAD SAFE" and by disabling the CheckForIllegalCrossThreadCalls- YOU ARE effectively making the whole thread unsafe and USELESS
microsoft msdn has a good example of Thread Safe method - i suggest you read them before you post some tutorial here.
TIP: An easier way to write this code, without the System.Threading.Thread is to type: Imports System.Threading above Public Class Form1. This lets the program/compiler know that you want to use a thread. So then you can just type Thread.Sleep(100) instead of System.Threading.Thread.Sleep(100).
I'm still wondering how Basic can be called a programming language.
themightytoenail 2 weeks ago
How would I use this with a timer?
VideosGlobeOfgeek 4 months ago
very good tutorial .... works for me with VB2010 is very good and current
terranscout 7 months ago
turn the god damn mouse clicks off!
trewq343 8 months ago
This has been flagged as spam show
ow do i get my server to talk to my clients, i have a muitl threaded server setup and can get the client data entered to appear on the server with Console.WriteLine(Encoding.ASCII.GetString(data, 0, recv));
but how do i talk back???
thanks
peternicolisgod 11 months ago
this is really a BAD programming tutorial
when using multi-threading - one thing that you should always consider is its "THREAD SAFE" and by disabling the CheckForIllegalCrossThreadCalls- YOU ARE effectively making the whole thread unsafe and USELESS
microsoft msdn has a good example of Thread Safe method - i suggest you read them before you post some tutorial here.
primus9370 1 year ago 3
1) it's Control.CheckForIllegalCrossThreadCalls = False not me.CheckForIllegalCrossThreadCalls = False
2) you don't need to to refresh the entire for. You can use Label1.Refresh for Me.Refresh
3) u r a noob!
V3niX 1 year ago
Comment removed
camus0202 1 year ago
This has been flagged as spam show
@V3niX I think the most important thing is that his example works, after that you could make your program as you want
camus0202 1 year ago
Finally. Some one who is willing to make some good multithreading tutorial videos. Thanks a zillion!
saiprasadvl 1 year ago
lol @ 8:13
ivionday 1 year ago
CheckForIllegalCrossThreadCalls = false
Can cause the creation of deadlock in real time usage. so there is another method to implement the code.
Foogeek 1 year ago
TIP: An easier way to write this code, without the System.Threading.Thread is to type: Imports System.Threading above Public Class Form1. This lets the program/compiler know that you want to use a thread. So then you can just type Thread.Sleep(100) instead of System.Threading.Thread.Sleep(100).
EnvoyePourRegarder11 2 years ago
Great tutorial, thank you!
I was wondering how can i pause or restart a thread, suspend doesn't work.
neodos1 2 years ago
sorry for the random question but i dont have any idea what this can be used for... Can you tell me or not?
BouSamraProductions 2 years ago
you can build your own timer, or if you want to use the thread.sleep command, this will make so your application doesn't freeze
jnbjabnk 2 years ago
Cool Your Cow Clicking Every Second CLICK CLICK CLICK 3*
GamingGlitcher01 2 years ago
Sorry :D
jnbjabnk 2 years ago
nice? when u gonna do anti-leak system?:P
7oxicAvenGer 2 years ago
I don't know :D
jnbjabnk 2 years ago
I made one for our company.. cant give the source .. so complicated and worked hard on it
cheatonly2win 2 years ago
Forget my last comment, i can help :D
TCHyper 2 years ago
Finally a good tutorial, well you other tutorials are good, but this is really useful :p.
exion3560 2 years ago
Your*
exion3560 2 years ago
Thanks ;D
jnbjabnk 2 years ago
NP lol.
exion3560 2 years ago