I want to make a mac app that listens on a port for incoming data and a web page send that data and the app processes it then send the processed data back to the web site. I have a program running that well accept incoming data on port 50000 but only if i send said information through the URL IE xxx.xxx.xx.x:50000/user=fred,number=123456789
I can rack this in and process it and get the user and number out but thats not exactly what i want. I need to send this data via php or java and then when i get the processed data back do some php scripting with it. I am new to mac app development and have hit a brick wall. I have tried php sockets and curl as well as some java httprequest and nothing works. My program never picks up a request unless its the browser making the call.
I would really appreciate any help or advice i can get.
I can rack this in and process it and get the user and number out but thats not exactly what i want. I need to send this data via php or java and then when i get the processed data back do some php scripting with it. I am new to mac app development and have hit a brick wall. I have tried php sockets and curl as well as some java httprequest and nothing works. My program never picks up a request unless its the browser making the call.
I would really appreciate any help or advice i can get.