Guys,

ok - i just ported Richards script to VB and it works like a charm ... here's that ...

code:

Private Sub Form_Load()

winsock.Protocol = 0
winsock.LocalPort = 80
winsock.RemotePort = 0
winsock.Listen

End Sub

Private Sub winsock_ConnectionRequest(ByVal requestID As Long)

MsgBox ("Hello, World")

End Sub


mswinsock is more than an Automation object - it's an OCX (an ActiveX control in the pure sense of the term) ... this means that it must be hosted by an ActiveX control container like VB - but WSH/VBScript/JScript can also host controls and respond to events (it's just not documented very well) ... but in terms of KiXtart, I think we're screwed ...

-Shawn