Re: Winsock vb 6 vs vb 2008
Winsock works just fine in VB.NET, I use it all the time.
Re: Winsock vb 6 vs vb 2008
Quote:
Originally Posted by
Philly0494
Winsock works just fine in VB.NET, I use it all the time.
could you please pass a sample? I sort of got the same problem
Re: Winsock vb 6 vs vb 2008
where are you guys running into trouble?
Re: Winsock vb 6 vs vb 2008
Quote:
Originally Posted by
Philly0494
where are you guys running into trouble?
I dont want to hijack his thread so made my own.
http://www.vbforums.com/showthread.php?t=597962
Re: Winsock vb 6 vs vb 2008
Quote:
Originally Posted by
Blixa
its ok you can write here its better then it will be maybe faster solved why the winsocks on vb 6 have other codes like in vb 2008 :/
Re: Winsock vb 6 vs vb 2008
Basicly my connectionRequest event is never launched however the client triggers the 'connectEvent'. I assume its that there is something wrong with the connectionRequest.
Code:
Private Sub sock_ConnectionRequest(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent) Handles sock.ConnectionRequest
writeLog("accepting new request id" + e.requestID)
If sock.CtlState <> MSWinsockLib.StateConstants.sckConnected Then
sock.Close()
End If
sock.Accept(e.requestID)
End Sub