|
-
Nov 4th, 2011, 10:44 AM
#1
Thread Starter
New Member
VB.Net Console Winsock Event Problem
hello people ,
i have a problem with my console in vb 2010 !
in windows form applications
we can use this event for winsock control:
Code:
Private Sub Winsock_ConnectionRequest(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent) Handles Winsock.ConnectionRequest
End Sub
its the event if the server had a connection request , but i cannot use it in my console application !
so how can i use this event or any event in winsock control !?
i added the component MSWINSCK.OCX then i declared it as the following:
Code:
Public Winsock As New MSWinsockLib.Winsock
Any Solution Guys?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|