您的位置:首页 > 其它

simple Ubuntu chat service

2016-01-19 13:17 489 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: