Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Recent Topics
Advanced Search
Is it possible to send an array through a socket?  
Forum Index -> Java Questions
Author Message
Niekfct


Joined: 2008/03/07
Messages: 1

Offline

Hi,

We're students from Holland (18 years old) and we're trying to make a chat-program. Ofcourse a couple of problems have passed our way.

Our server and clients are connected via sockets, and in the client's interface we wanted a list with the names of the connected users. When the clients connect, their name is sent to the server and stored in an array. After that, this array (with all the names of the clients connected) should be sent to the client, who puts this array in a list.

Then my question: Is it possible to send this array through a socket to a client so this client can work with it? Is this the easiest way or should we look for an other way to do this?

Kind regards,

Marten & Niek
 
 
   Forum Index -> Java Questions
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil