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
,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
相关文章推荐
- 41-语言入门-41-阶段总结
- (CentOS 7)Docker:安装&配置
- jar,后台运行的方式
- 工厂方法模式
- LBP特征原理及代码实现
- 使用sizemask来确保索引不越界
- 多语言配合开发
- 40-语言入门-40-C小加之随机数
- QuartZ Cron表达式
- 编译与解释
- 给Nginx配置一个自签名的SSL证书
- 39-语言入门-39-字母统计
- linux-0.12/boot/bootsect.S源代码阅读
- Installation Oracle11gR2 RAC One Node ---测试一
- 迁移应用数据库到MySQL Database on Azure
- 迁移应用数据库到MySQL Database on Azure
- 迁移应用数据库到MySQL Database on Azure
- C语言MD5实现
- 迁移应用数据库到MySQL Database on Azure
- LINUX 笔记5