From: Ed Yu on 10 Jun 2010 11:52 Paul, A classic server is running all the time listening... So you might need to change your server code to listen in a loop and response to client connections upon detection. Good luck! Ed. "Paul " <paul.verkempynck(a)student.kuleuven.be> wrote in message <hph89b$r3r$1(a)fred.mathworks.com>... > Dear all, > > I want to establish handshaking between two matlab sessions for correct data/command transition between the two "functions/sessions". > > This means that I want session1(lets call this the client) to start up and start searching for session2(and lets call this the server). Then the server starts up and they find each other. Then the server asks something like the date or the clientID or the number of commands,etc and waits. The client receives the request and sends the correct respons and waits, then the server get the respons from the client checks it, sends an ok and then the next request. etc. > > I've already found how to establish a connection between two sessions with the java socket commands, but I can't seem to get the two sessions to wait for commands. > > Thanks in advance, > Paul
|
Pages: 1 Prev: java heap space error while creating movie Next: Java problem |