In the VC knowledge Base I learned a lot of knowledge, a very short time I mastered the VC, mainly in your station under a lot of source code back analysis, learning. Look at you. A person will be net send package to the source code of mass message, have seen the internet, such as mass message software to buy, so feel oneself to write a mass message small program.
Characteristics:
VC source code, based on the IP/UDP protocol sock programming, according to the Messager Service communication protocol to fill in the number of UDP
According to the package, the message can be sent under the Win98 Win95 without the net send command, and the code contains Messager
Letter agreement. and support text content, ASCII text image sent. Advertising is good. In the message display can be blocked from
The host name of your own.
Win2000/xp Default Messenger Service (messager), port is 135, network communication mode using IP/UDP protocol. Typically this service is used for local area networks, which can be bypassed by proxies to send messages.
Let's analyze the structure of IP packets first.
A packet that conforms to the Messenger service, preceded by a UDP header (8 bytes), constitutes a UDP packet. The UDP packet is preceded by a 20-byte IP header, which constitutes an IP packet. The first 28 bytes in the IP packet are network protocols, and the Messager is accepted by the beginning of the 29th byte. The following is referred to as the message packet, the first 80 bytes of the message packet is the message header, in which the 41st to 44th Byte is a long integer variable, storing the sending time, the 75th to 78th Byte is the long integer type, storing the whole message packet-the size of the message header. The next 3 domains, each domain header size is 12 bytes, the first 4 and the last 4 bytes (Long integer) are the size of the field (the allocation size is parity), the first field represents the sending host name, the second represents the host name accepted, and the third represents the content. */
|=====20======|====8====|=========80============|=12=|from|=12=|to|=12=| News
///////////////////////////////////////////////////////////////////////
Directly using the socket UDP protocol, send messages can not hide their own IP, others use network Tools can find you
IP, if the first 28 bytes have their own processing, using the original socket way to send, camouflage the IP, not afraid
Check IP; ^_^!
This article supporting source code