Thread and RaiseEvent for Established Connection to 2346

V

Vitoto

Hi guys, i Need fix this issue.

My VB.Net is Anticheat Program, And Server Game is working in port 2346.

I Need Thread looking when My computer Established Connection to Any IP in Port 2346 TCP.

RaiseEvent need Return me, Local Port the my computer and my IP by Internet connected to Server.

My VB.Net program need Start Thread, Then my program Launch Game using Parameters Connecting to Server Game Where my Thread Raise event when Connection was Established and Return me Info.

Any Idea ?

From http://developmentnow.com/g/38_0_0_0_0_0/dotnet-languages-vb.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
 
R

Robin Tucker

Yes,

create a class that encapsulates the thread behaviour. Pass in an instance
to a windowed control (assume you are using forms) - when the thread detects
a cheat, invoke a delegate on the form from the thread. Then you should be
cooking with gas ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top