Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sockets, servers, clients, "MUD" project

Status
Not open for further replies.

tkforever

Programmer
Nov 13, 2003
6
US
So I going to attempt to make a multiuser game, nothing of grand proportion but I thought I should ask several things before I go and jump into it. If I am simply using sockets and Input and Output Stream objects etc, will I be able to have the "multiuser" part of this project work? Or will I, as I suspect, end up only being able to have one connection to the server. I'm still new to even the basics of the whole networking but any feedback would be great.

thanks
tk
 
Depending on how you write it (ie use a class that extends Thread to handle incoming connections), one ServerSocket can service multiple Socket (client) objects/requests.
 
In my last post in thread269-784497 there is code for a multi-threaded HTTP server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top