views:

245

answers:

2

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
Or just on your own local machine; open up whatever port you need and connect your client to localhost..
DarkSquid
@ 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
Run the server on your machine, and have one of your friends run the client.
Crappy Coding Guy
@Kevin: I would do this by setting up a computer at home or another offsite location (under your control).
Jon B
@ 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
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
+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