I have created a multi-threaded server but can not figure out how to send an object/string. I think I have the ability to receive it already.
Server created:
vb Code:
serverThread = New Threading.Thread(AddressOf startHosting)
How do I specify an object or string parameter here?
vb Code:
connection.Connect(ip, port)
When new users connect my thread accepts an object parameter:
vb Code:
Private Sub clientWorker(ByVal param As Object) End Sub




Reply With Quote