Click to See Complete Forum and Search --> : Socket Connection
calebcohoon
July 7th, 2007, 01:03 PM
I have a vb.net app running on my computer that is listening for incoming connections on IP address 127.0.0.1 port 87 and whenever I attempt to connect to my vb.net app via a php page using php's built in socket support, it is never able to connect and send any data like a simple "hello". I hope this understandable. I'm just trying to send data from an internet webpage to a program. If there are any other ways to do this please let me know. Thank you, Caleb
MikeAThon
July 7th, 2007, 02:48 PM
I don't know much about php socket support, but it probably connects and communicates in the HTTP protocol. Is your vb.net application also programmed to cummunicate in HTTP? If not, then the two probably can't talk to each other.
Mike
henky@nok.co.id
July 10th, 2007, 01:14 AM
I have a vb.net app running on my computer that is listening for incoming connections on IP address 127.0.0.1 port 87 and whenever I attempt to connect to my vb.net app via a php page using php's built in socket support, it is never able to connect and send any data like a simple "hello". I hope this understandable. I'm just trying to send data from an internet webpage to a program. If there are any other ways to do this please let me know. Thank you, Caleb
Are you sure your PHP program connect to 127.0.0.1:87?
You can test connection to your vb.net program by using telnet command
like: telnet 127.0.0.1 87 on command prompt.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.