To test a client/server networking application using socket programming, Is there a free hosting company that would allow me to open Server sockets and listen on a port?
+4
A:
I think that might be hard to find. I'm not sure why it's necessary though. You can test this on the LAN. If you want to test running your app over the Internet, you could set up on side at a different location (like at home).
Jon B
2009-08-31 18:28:05
Or just on your own local machine; open up whatever port you need and connect your client to localhost..
DarkSquid
2009-08-31 18:30:05
@ Jon B, I have already checked with localhost on lan, now I want to test realworld on the internet, any idea how to go about doing this?
Kevin Boyd
2009-08-31 18:32:59
Run the server on your machine, and have one of your friends run the client.
Crappy Coding Guy
2009-08-31 18:36:48
@Kevin: I would do this by setting up a computer at home or another offsite location (under your control).
Jon B
2009-08-31 18:37:00
@ Dave,My computer and my friends both are behind routers, in that case I don't know his IP, so I am unable to reach him.
Kevin Boyd
2009-08-31 18:46:57
You can have your friend tell you his IP (www.whatsmyip.org), or use Dynamic DNS (www.dyndns.org). You'll have to poke a hole in the router for this. If you need help with that, try over on www.serverfault.com.
Jon B
2009-08-31 19:09:40
+2
A:
Any free shell hosting service with reasonable limits (as long as your port number is free on a given shell server) -- see http://www.red-pill.eu/freeunix.shtml. These are free services, so you should probably politely ask administrator if you can do that though -- especially if your service needs more cpu/bandwidth.
liori
2009-08-31 18:38:35