simple Ubuntu chat service

During the test.we just use the command like "nc" 
,it is the short commad of "netcat";
usage: nc [-46bCDdhjklnrStUuvZz] [-I length] [-i interval] [-Olength]
        [-P proxy_username] [-p source_port] [-qseconds] [-s source]
        [-T toskeyword] [-V rtable] [-w timeout] [-Xproxy_protocol]
        [-x proxy_address[:port]] [destination][port]


First step : we we must create a command line  ofinstant message transfer service.our ip is 192.168.1.122
  for example : 
            nc -l -vv -p 11119

Second step :use an other ubuntu pc and open the ternamal ,inputthe command line like this
  nc 192.168.1.122:11119

then we can input something and the other clientwill  show our input ,just like a instant chatclient

你可能感兴趣的:(simple Ubuntu chat service)