Symbian C++ of Nokia下的源码,包括收发短信、收发Email、tcp/udp的socket编程、接收BIO消息、收发MMS信息-Nokia Symbian C of the source, including send and receive text messages, send e-mail, tcp / udp socket programming, receive BIO news, send information MMS 下载
|
JICQ是用JAVA语言编写的一个基于客户机/服务器(C/S)模式的局域短信实时通信工具系统,系统采用了Microsoft公司的SQL Server 2000作为后台数据库,系统通过JDBC访问数据库。系统分为服务器程序和客户程序两部分,服务器与客户间采用“传输控制协议”(TCP),通过套接字(Socket)连接,客户之间采用“用户数据报协议”(UDP),通过数据报套接字(DatagramSocket)建立连接。系统具有用户注册、用户登录、添加好友、删除好友、发送和接收消息等功能。-JICQ Java is a language based on the client / server (C / S) mode Local SMS real-time communications tool, the system uses Microsofts SQL Server 2000 database as a background, system access to the database through JDBC. System is divided into server and two clients, the server-client "Transmission Control Protocol" (TCP), socket (Socket) connectivity, customers using the "User Datagram Protocol" (UDP), through Datagram Sockets (DatagramSocket) establish a connection. Users registered with the system, users log in, friends add, delete friends, send and receive news and other functions. 下载
|
基于ace和wxWidgets结合使用的c/s结构的例子,server广播后,client对server发起连接,然后server启动接收线程,并将收到的数据通过单独的线程进行处理;该代码有以下特点:wxWidgets事件循环和ace的Reactor事件循环并行处理,定时器以及读写的并行处理,udp和tcp通信的并行处理,ui线程和通信线程的并行处理;有此例子,开发跨平台跨编译器的带图形界面的c/s程序易如反掌。-wxWidgets based ace and the combined use of c / s structure of the examples, After the broadcast server, client connect to server initiated, then start receiving threaded server and the data received through a separate thread processing; The code has the following characteristics : wxWidgets ace incident cycle and the cycle of Reactor incident parallel processing, Timer and writable parallel processing, tcp and udp communications parallel processing, Got threads and the threads in parallel communications; this example, Cross-platform development of cross-compiler with the graphical interface c / s procedures as easy. 下载
|
说明: 类似于QQ的局域网聊天软件,包括服务器端和客户端程序,采用tcp/ip socket多线程编程,服务器端主要负责客户端用户的注册登陆,用户资料的获取。客户端负责与其他客户端进行信息控制与传递(包括聊天和传送文件)。 a、采用tcp非udp的socket编程,保证传输的稳定性和实时性。 b、在同步操作时大多数采用了多线程和超时控制。例如:在传送文件的同时能继续聊天。 c、服务器只负责用户登陆,查询,修改用户的基本信息和实时的在线用户列表。而不参与客户端之间的信息传递。 d、每个客户端既是聊天的发起端,又是接收端,实现了多点同时聊天和传送文件-Note : similar to the LAN QQ chat software, including server and client, using tcp / ip socket multithreaded programming, the server-client primarily responsible for the registration of users landing user information access. Client with the other client information control and transmission (including chat and transmission). A, using the tcp - udp socket programming, and ensure the stability of transmission and real-time. B, in the majority of synchronous operation using multithreading and overtime control. For example : the transmission of documents at the same time can continue chatting. C, server users is only responsible for the landing, inquiries, and to amend the basic user information and real-time online user list. And do not participate in the client transfer of information between 下载
|
1) 收发(离线)消息(如果客户端之间能直接通讯,则通过UDP协议发送,否则通过服务器中转) 2) 添加/删除好友(可以设置身份验证) 3) 服务器端存储好友列表 4) 在客户端存储好友资料和聊天记录 5) 客户端与服务器端用DES的密钥加密方式通讯 6) 支持代理服务器(SOCKS5/HTTP) 7) 向在线的一组好友发送消息 8) 系统管理员可以发送系统广播消息 9) 皮肤系统 10)完全基于插件,使扩展更容易。目前提供的插件有: a. 收发文件 b. 二人世界(可以实时语音聊天) c. 闹钟提醒 -a) transceiver (offline), information (if the client can direct communication between, through UDP sent, or transit through the server) 2) Add / Remove friends (can be set authentication) 3) server storage buddy lists four) in the client information storage and friends chatting record 5) client and server side with the key DES encryption communication 6) supported proxy server (SOCKS5/HTTP) 7) to a group of online friends Send Message 8) the system administrator can send news broadcasting system 9) Skin System 10 ) based entirely plug-and more easily extended. The current provision of a plug-in : a. TX document b. two world (real-time voice chat), alarm clock to remind c. 下载
|