I've seen some recent research on IM that has turned the past upside down to study this research.
Communication protocol UDP, chat peer-to-peer
This project simply realizes the basic function of early QQ.
- Text chat
- Emoticons, Pictures sent
- Send offline messages, pictures
- Online/offline, file transfer
- Upload a custom Avatar
- Group function
- Voice, video Chat
- Weather forecast
- Custom tab
- Function
Theoretically the function is implemented, but there is a problem with NAT penetration, so peer sometimes can't succeed, so the outside network, just a toy
Client Run
The Technical network communication involved
- Message serialization, encryption
- Data transfer Protocol definition, message chunked sending, message integrity judgment and duplicate sending, SOKET5 proxy
- Nat Pierce, commonly known as punch hole
- Message Caching/Forwarding
Interface interaction
- Form interaction
- Interface Drawing
- Skin change
RTF Text Processing
- Font size Color Control
- RTF Picture Extraction Send
Compiled client, can connect to test server, need to register the account first
Http://119.10.29.11:8081/SinoTalk.rar
We don't understand. Welcome Message Discussion
Project description
Do not use this program for commercial purposes, in order to avoid unnecessary disputes, only for learning, reference
Development time 2010, more distant, there are many problems
Follow me on the new project CRL Rapid Development Framework
Http://www.cnblogs.com/hubro/p/4288047.html
The current project client compiles and runs to connect to the test environment server (which may then close)
Test server address http://119.10.29.11:8081/account registration
Project Division
Client clients
Comm Public Methods
Duoduo Startup program
Ipcchannelobj Service Console Communication object
Server Service Main Program
Sinotalkserverconsole Service Console
Sinotalkservice Service Program (in Parameter configuration Main program path)
Sinotalkweb website Interface (for the avoidance of disputes, not disclosed, please refer to the online example)
Update upgrade Program
ServerSetup Service installation program
Database (for avoidance of disputes, undisclosed)
The original version of this item is older. net2.0/3.5 Development test to adjust the build environment according to the actual situation
Port Address Change
Server port
sinotalk.comm.p2pconsts.server_udp_port=2280
Client server address Binding
Sinotalk.client.clientconsts._server_address= "119.10.29.11"
ActiveX Control Registration
Voice and video are ActiveX controls that need to be registered before they can be compiled by
The debug directory has a registration file
regsvr32 "Aocx2.ocx"
regsvr32 "Vocx.ocx"
regsvr32 "ImageOle.dll"
Project : Link: http://pan.baidu.com/s/1kTst3H9 (re-modified)
Open the long-sealed instant messaging source