|
Server |
Client 0 |
Client 1 |
>> java EchoServer 5777 Waiting for clients Connection established with client 0 Client 0 : Hello Connection established with client 1 Client 1 : Hello Client 1 : Lets all move one place on Client 0 : With sobs and tears he sorted out Client 0 : Those of the largest size Client 0 : I'll be going now Client 1 : me too client 0 logged off Client 1 : bye client 1 logged off |
>> java EchoClient 127.0.0.1 5777 Server: Welcome to echo server. Server: You are client 0 Server: type -exit to logoff echo : Hello echo : With sobs and tears he sorted out echo : Those of the largest size echo : I'll be going now |
>> java EchoClient 127.0.0.1 5777 Server: Welcome to echo server. Server: You are client 1 Server: type -exit to logoff echo : Hello echo : Lets all move one place on echo : me too echo : bye |
|
See the "Links" link above to find out the sources of the proposed informations Pascal Vuylsteker / eScience / Computer Science / ANU |
Page modifiée le: 5/9/2002 | Envoyez moi vos commentaires : <pvk@vuylsteker.net> |