The Wayback Machine - https://web.archive.org/web/20091226204548/http://www.codeguru.com:80/cpp/i-n/network/

CodeGuru
Earthweb Search
Login Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> Internet & Networking >> Network Protocols


Network Protocols

Active Directory



Using the Active Directory Object Selection Dialog
Rating:
Friedrich Brunzema - 01/30/2003
How to use the Active Directory Object Selection dialog and retrieve the information the user has picked from it.


Basic Network Operations



[Updated] A Glimpse at Today's Server-Side Programming
Rating:
Paul Avery - 01/15/2008
Read a broad overview of today's four most popular and growing server-side programming/scripting languages.

Spoofing the ARP Table of Remote Computers on a LAN
Rating:
Gordon Ahn - 03/31/2004
ARP spoofing, also called ARP Cache poisoning, is one of hacking methods to spoof the contents of ARP table in other remote computer on LAN. For one computer to connect to other computer on IP/Ether network, two addresses are needed. One address is MAC address, and the other is IP address.

Creating a Multi-Threaded Trace Route
Rating:
Andy McGovern - 11/13/2002
A trace route technique using Winsock2. Get the IPs from all the hops between you and the requested IP or site.

CNetService
Rating: none
Jay Wheeler - 01/30/2001
A wrapper class for Microsoft. Win32. API WNet functions

Finger Utility
Rating:
Alexei Veremenko - 01/29/2000
Finger Utility

Ping Component and Client
Rating:
Alexei Veremenko - 01/29/2000
Ping Component and Client

Internet tools
Rating: none
Fred Forester - 02/09/1999
Internet tools

An ICMP Class For MFC
Rating: none
Jay Wheeler - 02/09/1999
An ICMP Class For MFC

Ping a computer using TCP stacks
Rating: none
Les Jordan - 02/09/1999
Ping a computer using TCP stacks


Dial-up Networking



Computing a MS-CHAPv2 Client Response (not yet reviewed)
Rating: none
Eugene Prigorodov - 03/06/2006
Learn about a RFC2759-compliant implementation of the MS-CHAPv2 response calculation algorithm.

RAS Detection Routine
Rating: none
Jeroen-Bart Engelen - 10/17/2000
Routine that Reads Registry to Verify if RAS is Installed

Retrieving Modem Information
Rating: none
Seain B. Conover - 08/18/1999
Retrieving Modem Information

A Remote Access Service (RAS) Client Class
Rating: none
Qing Zhang - 02/09/1999
A Remote Access Service (RAS) Client Class


Games



WinBattle'—A Multi-Player Game Tutorial and Reusable Framework
Rating: none
Ken Reed - 01/02/2004
Learn about WinBattle, a tutorial on writing a multi-player network game. It also provides re-useable client/server framework code that can form the basis of subsequent projects, and resurrects a game from the early 90s: XBattle.


IPX



Checking IPX Communication and Obtaining Node Addresses
Rating: none
Zoran M.Todorovic - 01/24/2000
Checking IPX Communication and Obtaining Node Addresses


Messaging



Creating a Chat System
Rating:
Barretto VN - 06/18/2003
Create a Chat System (Client and Server) to chat either on a LAN or the Internet.

Open Source Messenger for Any Version of Windows
Rating:
Sasa Popovic - 03/03/2003
Build an open source messenger that works with nearly any version of Windows.

Using MAPI to Send E-Mail
Rating:
Aisha Ikram - 12/24/2002
How to send customized e-mail messages and attachments programmatically using MAPI.

Peer to Peer Network Messenger
Rating:
Matthew Millman - 06/19/2002
This program is a peer to peer messenger program which functions (and looks) like MSN messenger. since this program is peer to peer there is no hidden server code, it's all here!

Adding More Privacy to Users of Existing Messengers
Rating: none
Alboaie Snnicc - 05/22/2002
SQLProxy is a program created for adding more privacy to users of existing messengers. In this first versions, only Yahoo! messenger protocol is supported.

Send - Messenger Service Pair
Rating: none
Bruno Vais - 02/08/2000
Send - Messenger Service Pair

Open Source Chat Program
Rating: none
Christian Carrillo - 01/30/2000
Complete, realtime chat application (source code included!)

Simple Messaging Service
Rating: none
Alex G. Nazarov - 01/24/2000
Simple Messaging Service

Sending "Pop Up" Messages via NetMessageXXX Functions
Rating: none
Phil Petree - 01/16/2000
Sending "Pop Up" Messages via NetMessageXXX Functions


Named Pipes



Simple Point to Point Communication Using Named Pipes
Rating:
Emil Gustafsson - 02/03/2000
Simple Point to Point Communication Using Named Pipes


Network Information



Edit (Add/Remove/Modify) ARP Table
Rating:
Usama El-Mokadem - 01/16/2008
Use this simple tool to display and modify the IP-to-Physical address translation tables used by ARP (Address Resolution Protocol), such as Windows command-line arp.exe.

A New Method to Get MAC/NIC Statistical Information
Rating: none
Jay Guo - 07/02/2003
Discover a method to get statistical information about all local network interfaces. It is also a method to retrieve MAC addresses.

Three ways to get your MAC address.
Rating:
Khalid Shaikh - 04/15/2002
Although there are no functions named GetMACaddress in the Win32 API, ATL, MFC, or C#, it is fairly easy to find and associate your MAC address with its related IP addresses.

View Adapter Information using GetAdaptersInfo
Rating: none
Nguyen Thanh Phong - 01/10/2002
This function is a way to retrieve the unique information that globally identify the computer.

Retrieving NIC information using SNMP queries
Rating:
Lee Hamel - 08/29/2001
Updated Source. Allows all NIC information to be retrieved with two function calls: GetNICCount() and GetNICInfo()

Retrieval of Computer Names and their IP Addresses
Rating:
V.Girish - 06/08/2001
You can use this code to retrieve the host information in a network and also get the IP address of each PC.

Change IP address and HostName of NT machine
Rating:
Massimo Negroni - 08/02/1999
Change IP address and HostName of NT machine

Extracting shared drive information from a local or remote server
Rating: none
Lee Hayward - 08/02/1999
Extracting shared drive information from a local or remote server

Adding Active Friends Lists to your Programs
Rating: none
Christian Carrillo - 07/31/1999
Adding Active Friends Lists to your Programs

Network Enumerations (3)
Rating:
Sam Claret - 02/16/1999
Network Enumerations (3)

Network Enumeration(2)
Rating: none
Zoran M.Todorovic - 02/09/1999
Network Enumeration(2)

Network Enumerations
Rating: none
Joerg Koenig - 02/09/1999
Network Enumerations

Get hostname and ip address of local computer
Rating: none
Jeff Lundgren - 02/09/1999
Get hostname and ip address of local computer

Get hostname and ip address of local computer (2)
Rating: none
Jaroslav Pisk - 02/09/1999
Get hostname and ip address of local computer (2)


Network Protocols



SuperCharger  Boosts Browsing Speeds Up To 3,000 Times Faster?
Rating:
Bill SerGio - 05/21/2003
Check out and use the concepts employed in SerGio's SuperCharger program -- Supercharger Boosts Browsing Speeds Up To 3,000 Times Faster? (The source code and demo project were updated.)

Review of the Network Adapters Parameters
Rating: none
Serge Basa - 05/12/2003
Get information about different network interfaces operating on a system at the current moment.

Creating a Linux Soft Switch
Rating: none
Truong Bao Long - 02/03/2003
Switch packets based on MAC addresses and forward them to the proper outgoing network interface(s). (This was done with C on Red Hat Linux.)

Distributed Applications, the Easy Way
Rating: none
Eugene Mayevski - 01/29/2003
There are many ways of transferring data from one process to another. Learn a way to have a flexible data exchange system and to avoid going deep into technical details.

Using the TVPing Utility
Rating: none
Vijayan TV - 01/23/2003
You can use a ping across a network or the Internet to diagnose the speed and reachability of a remote host. This article explains the details needed to implement this in easy steps.

NDK 2.0 - Network Development Kit
Rating:
Sibastien Lachance - 02/27/2002
NDK represents Network Development Kit. The NDK is a set of classes that implements a client/server architecture. The NDK hides all the complexity of the connection, sending and receiving data over a network. You only have to deal with 3 classes:

NetShareAdd '& NetShareDel Function Calls
Rating:
Vasilenko Serhiy - 01/28/2002
Getting around the problems of using NetShareAdd '& NetShareDel.

C++ Class Library for IRC
Rating:
Adi Degani - 08/17/2001
This article describes a C++ class library to help programmers implement their own IRC client (like the famous mIRC).

Encapsulating Standard Network API Functions
Rating: none
Mike Pritchard - 04/10/2001
Greatly smoothes the learning curve to using the 32-bit Network API by providing an encapsulation of the NetSessionEnum and NetUserGetInfo functions

Network Development Kit
Rating: none
Sibastien Lachance and Yannick Litourneau - 11/17/1999
Network Development Kit

Multithreaded Telnet Server - Chess Game Example
Rating: none
Lee Patterson - 07/21/1999
Multithreaded Telnet Server - Chess Game Example

Shutting down workstations
Rating: none
Christian Amarie - 07/18/1999
Shutting down workstations

Gathering information about a workstation
Rating: none
Christian Amarie - 06/08/1999
Gathering information about a workstation

COMMSPY: A serial port monitor
Rating: none
Dan Pilat - 02/19/1999
COMMSPY: A serial port monitor

Novell Netware Send
Rating: none
Petr Stejskal - 02/02/1999
Novell Netware Send

Asynchronous full-duplex connection class
Rating: none
Paul Barvinko - 02/02/1999
Asynchronous full-duplex connection class


Remote Administration



z/OS MQSeries Queue Manager Administration Tool Via MQClient Running on Windows
Rating: none
Martyn Brown - 09/29/2004
Learn about a command line utility for issuing runmqsc commands to a mainframe over MQClient from Windows.

Remote Processes and Machine Control of Windows NT-Based Systems (2000/XP)
Rating:
Prateek Kaul - 09/05/2003
Trigger, monitor, and kill processes as well as and shut down or reboot a machine remotely. (The article was updated.)

View Desktops Remotely
Rating:
Andy Bantly - 04/24/2000
View Desktops Remotely


Remote Invocation



Remote Desktop View Lite
Rating:
Andy Bantly - 10/31/2005
Learn about a native C++, MFC, ATL/COM system to remote view a desktop.

.NET Remoting with Events in Visual C++
Rating:
Kate Gregory - 04/13/2004
Learn how to add a button to a server application (a WinForm app with a big Listen button) and have the handler for the click event raise a custom event.

.NET Remoting in Visual C++
Rating:
Kate Gregory - 03/31/2004
Remoting is one of the three techniques available on the CLR for creating distributed applications.

Execute Applications on Remote Systems
Rating:
Zoltan Csizmadia - 04/13/2001
Allows you to execute applications on remote systems without installing any client software


Serial Communications



Remote Communication Made Easy
Rating:
Ken Reed - 11/07/2003
Exchange data with remote computers using the standard streaming operators '<'< and '>'>.

Implementing Serial Communication in Win9X/2000
Rating:
Shibu K.V. - 10/01/2002
Serial data transmission seems a bit difficult for those who are new to the world of serial communication and VC++. Check out this simple class for implementing serial transmission using WINAPI functions.

Serial Communication in Windows
Rating:
Ashish Dhar - 08/15/2002
Discover how to do serial communication from within your own applications from this detailed article.

A communication class for serial port
Rating:
Remon Spekreijse - 02/08/2000
A communication class for serial port

CSerial - A C++ Class for Serial Communications
Rating:
Tom Archer and Rick Leinecker - 08/07/1999
CSerial - A C++ Class for Serial Communications


TCP/IP



[Updated] MODBUS Serial RTU + TCP/IP Simulator
Rating:
Conrad Braam - 12/18/2009
If you are unable to find a free Modbus Slave simulator, here is one.

Clients that Find Servers in a Windows Network Domain (TCP/IP, Mailslot)
Rating: none
Ciro Sisman Pereira - 03/20/2008
Learn how to use a mailslot to broadcast information over a network.

[Updated] Step by Step Developing a SOHO HTTP Filter
Rating:
rzcodeman - 08/27/2007
Most available web filters work inline, meaning that all outgoing and incoming packets are passed through a filter driver. This approach along with its own benefits has a big flaw; the filtering process affects data transfer throughput. Learn about an experimental remedy to this issue by putting the filter engine in sniffer mode. This way, the filtering process and data transfer act independently.

Port Scanner
Rating:
Nagareshwar Talekar - 06/30/2004
Learn about the TCP Half Open Scanning or TCP SYN scanning technique.

Creating a TCP Ping Echo on User-Defined Protocols
Rating: none
Alumni - 05/13/2003
TCP Ping is necessary when measuring server functionality from different IP networks (mirror sites).

Raw TCP/IP library for Windows 2000
Rating: none
Barak Weichselbaum - 04/07/2003
Updated to version 4. This library enumarates the TCP/IP protocol, and allows the user to create custom TCP/IP headers, this allows IP spoofing and more.

Networked Simulated Plants Using Modbus/TCP
Rating: none
Friedrich Haase - 04/04/2003
Networked Simulated Plants (NSP) is a frame program that connects a Modbus/TCP server with a automation simulation. It delivers Ethernet I/O to programmable logic controllers (PLCs).

How to write a simple but effective TCP/IP port scanner for Win32
Rating:
Luca Piergentili - 10/15/2001
Learn how to develop a simple but effective port scanner for Win32, using a self written socket classes (not the CSocket which comes with MFC) and a small framework based on the CPropertySheet/CPropertyPage classes.

IP Packet Monitor for Windows 2000
Rating:
Arkady Frankel - 03/14/2001
Presents a fantastic custom packet monitoring utility for Windows 2000

Detecting and terminating aborted TCP/IP connections
Rating: none
Vinayak Gadkari - 07/27/1999
Detecting and terminating aborted TCP/IP connections


Winsock Solutions



A Little Sniffer that Uses WSA Sockets (Windows Sockets)
Rating: none
Ciro Sisman Pereira - 03/27/2008
Discover how to intercept network traffic (IP packets) by putting a socket in promiscuous mode.

Distributed Network Object
Rating:
Ejaz Anwer - 10/22/2007
Learn to use the "Network Distributed Object Model" to have a simplified way of performing network communication at the object level.

[Updated] WinIPCfg
Rating:
egawtry - 03/23/2006
A clone of the Win95/98/ME utility for checking and controlling IP addresses.

SOCKS'—a Firewall Realization on an Object-Oriented Basis
Rating: none
Alumni - 07/23/2003
The SOCKS firewall is a program that is capable of secured proxying, being compatible with various authentication levels.

Speeding Up Internet Browsing
Rating: none
Bill Nolde - 05/22/2003
This program watches for DNS requests, lists them, and allows you to save them to block certain sites.

Raw TCP/IP library for Windows 2000
Rating: none
Barak Weichselbaum - 04/07/2003
This library enumarates the TCP/IP protocol, and allows the user to create custom TCP/IP headers. This allows IP spoofing and more. (The article and demo project were updated.)

Multithread server class with example of HTTP server
Rating:
Souren Abeghyan - 10/03/2001
When writing a socket server, the author had to choose between using a Single Thread technique and using a Multithread technique. He discovered the Multithread technique has several advantages.

Asynchronous Windows Socket Class
Rating: none
Roman Ukhov - 11/28/2000
Great class that is much more flexible than CAsyncSocket since it uses overlapped I/O instead of a message queue

File Transfer Using CSockets
Rating:
Vicken Simonian - 01/15/2000
File Transfer Using CSockets

A Multicast Wrapper Class
Rating:
Adeel Jamil Siddiqui - 07/28/1999
A Multicast Wrapper Class

Winsock API Wrapper Classes
Rating: none
Poul A. Costinski - 02/09/1999
Winsock API Wrapper Classes

Winsock2 Internet Functions
Rating: none
Steve Bryndin - 02/09/1999
Winsock2 Internet Functions








The Network for Technology Professionals

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers