I seem to be having some trouble sending Data to the connected Socket.
I'm quite new to programming so Sorry if my terms aren't 100% correct.
The problem is if I use:
Public Function send()
Dim s As Byte() = Encoding.ASCII.GetBytes(Form1.TextBox4.Text)
TL2.Send(s)
End function
I get a
System.NullReferenceException.
I'm looking forward to your help!
with kind regards.
R4z0r
Edit: I tought i was using the wrong method to convert string to bytes.. Like i said before im quite new to the code world. so please to flag me for weird stuff like "Duplicate posts"