What port do you connect to?
Does your machine listen to that port? (I.E. 80 => apache2 running?)
Hello FabienWang,
I am pretty sure that it actually establishes a connection before it sends these messages, because
- The onConnection event is fired
- The SendMessage command only happens if a connected socket exists
So I don't think that's the problem, but anyway, I usually open port 20 on my computer via
sudo netcat -l 20
or something like that, but if I am connected to a website then port 80 of course.
Just to clarify, when I connect to my own computer it's only for testing. I don't run a webserver.