well i am transcoding my vb6 chat... but i dont know how to program the events that was in vb6 for the socket control.... like ConnectionRequest, DataArrival, Close, etc.. now sockets are like variables.. how can i code that events? :O any1 can help-me? sorry for the dumb question.. cant find any tut..
Try this Sockets class. Just add it to your project and give a reference:
VB Code:
Public WithEvents Socket As New Sockets
You can use all of the basic Socket functions: Data Arrival, Connection Request, Close Socket, etc.
Unity Programs™ - Downloads To Make Your Computer Life Easier - UnityPrograms.com, check it out
My small company, I need feedback.
If someone's post was useful, don't forget to Rate It by clicking the Rate This Post link under the avatar. If this post has been resolved. Please mark it as Resolved by going through the Thread Tools above and clicking on the Mark Thread Resolved option. We ride together, We die together, .NET for life. - Working With Visual Studio.NET 2005