Re: php socket with java program socket, possible?
Sockets are sockets. You should be able to write a socket server program in Java and connect to it from your program. The first link below is pretty much exactly what you need:
http://www.oracle.com/technetwork/ja...et-140484.html
http://docs.oracle.com/javase/tutori...ets/index.html
You don't need servlets and a servlet container like Tomcat to do this. It might make sense if you had a more extensive web service but I don't think it does in this case.
Please create new threads for new questions.
Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].
Bookmarks