基于Socket接口的Linux与Windows网络聊天室设计与实现  被引量:7

Realization of Internet Chatroom Between Linux and Windows Based on Socket

在线阅读下载全文

作  者:陈洁[1] 孟晓景[1] 

机构地区:[1]山东科技大学信息科学与工程学院,山东青岛266000

出  处:《软件导刊》2015年第6期94-96,共3页Software Guide

摘  要:为了实现Linux与Windows跨平台通信,及时共享信息,构建了一个适用于跨平台的网络聊天室通信程序。先搭建跨平台通信环境,然后使用Socket套接字网络编程接口实现通信。整个系统采用客户机/服务器(C/S)模型,Windows客户端采用MFC框架编写,Linux服务器和客户端均采用C语言实现。通过测试,Linux和Windows的客户端可以成功连接到服务器,从而实现跨平台网络聊天功能。In order to achieve the cross-platform communication of Linux and Windows, and make information sharing timely, the article build a communication program of internet chatroom for cross-platform. First, it build environment of cross-platform commu-nication , and then use network programming interface of socket. The whole system adopts a Client/Server(C/S) model, using MFC framework to write Windows client, Linux, including server and client, use C language to realize. It is tested that client of Linux and Windows can successfully connect to the server. Then it can realize the function of the cross-platform internet chatroom.

关 键 词:LINUX WINDOWS 套接字 客户机/服务器 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象