Internet in C Plus Plus

From codeuu,source code

Jump to: navigation, search
ARPTable

This is a simple tool to displays and modifies the IP-to-Physical address translation tables used by ARP (Address Resolution Protocol), like as Windows command-line arp.exe.

A very simple COM server and client using the Microsoft Visual Studio ATL Appwizard

This code is an example of a very simple COM server and client written using the ATL AppWizard in Microsoft Visual Studio 6.0. The server is capable of being accessed by any platform that supports COM. Included is a very simple win32 console application that serves as the client. It can be run either by double clicking it, but is best when run at a command prompt. The server is accessed and creates a simple win32 dialog box with a Monkey and takes user input (an integer) and returns the square. Its that simple!

A Packet Sniffer for Win2k/XP

This code will show you how get raw ip packetes with raw sockets on Win2k/XP.

A Win Chat V 1.1

This is an Chat program that works over the internet and LAN!

A tcp client/server example using BSD model

This shows the basics of writing to and reading from a socket in the BSD sockets model.

A simple and small HTTP proxy server

THIS IS A SMALL PROXY (HTTP) SERVER CODE

AnkiChatter

Hi friends

a very simple port scanner

This is a very simple port scanner. Its the first semi-useful sockets program I have written. I have included a windows version and a linux version... enjoy.

A very simple Server/Client chat

This small code will show you how a server/client chat application works using Winsock, it is very simply and i used blocking mode, this means in my program that the server can't response because he's receiving messages and the server only continue with receiving messages if a message has been send :-). Whatever this is excellent for beginners in the Winsock world.

AntiSpam

AntiSpam 1.2 is the updated version of AntiSpam 1.0. It's primary purpose is to serve as a programming exercise to test an ostensibly primitive method of dealing with unwanted email (SPAM). The current release works with Outlook Express 6, but future versions will include integration with other email clients. AntiSpam 1.2 essentially installs custom-made filters, limited to the message body type, into Outlook Express for the selected Identity. Accordingly, there is a sample filter included. Unlike the previous version, AntiSpam 1.2 successfully installs all filters adhering to the filter template. Incidentally, this new version will demonstrate how to build an unsigned character string from a signed character string.

Basic Winsock Application

Just a winsock program I wrote to help me get familiar with Win32 API. It just allows the client to send the host messages.

bouncer
Buddy IDs

It will show the msn,yahoo,ICQ buddy ids in a system

basic web server

How to put webpages on the web from your ip address

Banner Scan

This little utility connects to a user specified IP and port, reads the first 65535 bytes, displays that data to the screen, then exits.

Bannerscan 2

Bannerscan 2 is a portscanning program using winsock instead of raw sockets. Like my first Bannerscan but now supports range scanning of ports on a single IP. Full description etc in the /* Header */ of the source! Please give me feedback and vote for this code ;)

Basic Network Sniffer

Many people wonder how to write a sniffer.

Chat client NO MFC

Its a simple server-client chat program i wrote in a few hours in WINAPI.

A Very Simple COM Server and Client in MS VC plus plus 6.0 without using MFC,ATL or IDL.

A Very Simple COM Server and Client in MSVC++ 6.0 without using MFC,ATL or IDL.

C plus plus Sockets

To connect to any specified website (URL address) and download the front page contents

Simple Hit Counter

This is a simple hitcounter written in c that writes the number of page hits to a file then displays the number as .Gif's (Gif's Included) SSI required to use. Exapmle Included

com - a simple networking layer

This set of classes represents a very simple network communication layer for games and other applications. The code is kept simple and straightforward to make it very easy to use. There are three parts: the client and the server and the command part, where each command is represented by a structure. Ideal for small applications with simple networking needs or just for learning. Documentation and commented example provided. Please report any bugs you find. I also appreciate suggestions on how this could be improved without increasing the complixity or decreasing the ease of use. Please vote! :)

fake mailer

a new version of FakeMailer (uses MIME and sends attachments)

HTTP example

This is a very simple MFC dialog code showing how to download a raw HTML code directly by HTTP. It's so simple I don't think it needs any comment. The code is downloading exactly 10000 bytes of code but you can also automatically adjust the size of the code with a lus. You should loop the read function and whenever it's returning the value 0 you've got the whole code.

POP3 protocol

Welcome to CPop3Connection, a freeware MFC class to support the POP3 protocol. POP3 for those not familiar with all the internet protocols is the protocol used to retrieve internet email.

Udp Client/Server

JUst a little udp server/client, the client sends commans to the server which calls popen() on those commands to read the output from the server and then send back to the client

Enumerate IP Addresses

IPEnum v1.01 an MFC class and console app. to allow enumeration of IP addresses.

MFC class to support the SMTP protocol

Welcome to CSMTPConnection, a freeware MFC class to support the SMTP protocol. SMTP for those not familiar with all the internet protocols is the protocol used to send internet email.

Class to encapsulate the PING protocol

MFC class to support the PING/ICMP protocol. ICMP for those not familiar with all the internet protocols is the protocol used to retrieve information about how IP packets are routed.

Win32 Mailslots

These 2 classes provides a clean C++ interface to the little known but quite powerful WIn32 IPC mechanism called mailslots. They are very similar to the more common "Named pipe" IPC mechanism. Unlike named pipes, mailslots use datagrams. A datagram is a small packet of information that the network sends along the wire. Like a radio or television broadcast, a datagram offers no confirmation of receipt; there is no way to guarantee that a datagram has been received.

Trace Route

CTraceRoute v1.0 an MFC class to encapsulate trace route functionality

MFC classes to implement a Web Server

3Mfc 1.1 A collection of freeware MFC classes to implement a Web Server

Sending mail using Simple MAPI

CMapi v1.0 an MFC class to encapsulate sending mail using Simple MAPI

Internet Finger protocol

Welcome to CFinger, A very simple MFC class to encapsulate the Finger protocol. Finger for those not familiar with all the internet protocols is the protocol used to retrieve information about a systems users. The information returned is a simple string and can be used for any purposes. For example the USGS (United States Geological Survey) use Finger to allow up to date Earthquake data to be retrieved.

Retrieval of recent Earthquake data from the USGS

The class provides for retrieval of recent Earthquake information from the USGS (United States Geological Survey) via the finger protocol.

MFC class to support Hyperlinks

This class allows you to create a static control on a window or dialog which behaves similar to a hyperlink as seen on a web page. When the mouse moves over the text the cursor becomes a hand and when you click on the text the hyperlink is executed. The zip file contains the CHLinkCtrl source code and also includes a VC 5 workspace file to build a small demonstration app. A place you may find this class useful is to spruce up an otherwise plain "About box" in your Windows applications.

CHTTPTransaction - C plus plus /Win32 - Reusable Class

CHTTPTranscation is an enhancement for CHTTPSocket class, with full source code.

Check if connected in Internet

Check if connected in Internet...

CNetworking 2.0

These classes are based on Networking, which I released October 2000. You are able to send, receive, connect, disconnect and retrieve different kinds of information about the other peer. The main advantage over Networking 1.0 is, that you do not necessarily need a window that will process the Networking messages. Instead, you can define call-backs or events or simply no notification at all. Also, instead of working with connection identifiers, you can now work with connections as objects. Even though that particular conversion did not take weeks, I think it is of great help in order to manage all connections. If you have questions, feel free to mail me. -- Please vote for this code :)

Check If TCP or UDP Port is Busy or Not

Check if TCP or UDP port is busy or not...

EMAILer

(fixed again 2-8-2000) I have discovered a tiny bug and I have fixed it. It works very well now.

Chatting Messages

Use this programm to chat over a client /server netwrok ,Using MFC sockets ,it easy to use and cool with sound notifivation support

Crorepati Game

a simple cpp graphics program that simulates the famous KBC show.i have not included features such as phone-a-friend,audience etc.This is my first

C Winsock Server

Binds itself to port 23 and waits for incoming connections.

SChat verson 0.50

The purpose of this application is to provide a direct communication between 2 computers in a peer to peer like environment. This code should be a great start for people who want to build a full blown chat program using C/C++ and Winsock.

Automation and Events in IE

This code creates a simple activeX control to illustrate automation and events in a web page running in Microsoft Internet Explorer 4.0 or greater.

checking for program updates

This code article describes one method of having your program determine if an updated version is availible.

Telnetserver in BCB

This example sets up a Server using TServerSock to respond and handel incomming Telnet connections. It can easily be modified into a UserAccount based RemoteAccess system for example.

Command Line Downloader

This will download a file from a HTTPD or a FTPD. It will then output the result (success or not). Comments/bug reports appreciated =]

Search Engine Friendly ISAPI Filter

Reformats URLS for a search engine friendly format (ie look like HTML pages) back into asp querystrings for the ASP pages to use normally.

Sockets example

Extremely simple client-server setup using windows sockets.

Complete Multi-User Dialog-Based Chat System (no MFC)

A complete windows dialog-based multi-user chat system with multiple dialogs. No MFC is used, only pure windows API. EXTREMELY COMMENTED FOR EASE OF READING! Demonstrates the use of a richedit control, ip address control, winsock, listbox, and more. It also demonstrates how to embed a dialog onto an existing dialog!

CX Html Remover

This program Removes all the HTML tags. It removes all text inside less-than greater-than brackets (including the brackets). Uses Classes, Strings, and has exeption handling. Just somthing I did to get a better feel with strings :D

Console Simple Webpage maker

This code simply makes an html file for you, by the inputs that you put in, it is simple and fun well i hope it is fun

Dialler

This is my first submission og c/c++ code.

Download a file from the Internet reliably

In this article you will find out why you just can't call a few WinInet functions and expect them to download a file for you. You will learn the proper way to download a file from the Internet, and display its progress and download speed!

internet cleaner

it deletes your browsing history ,recent files,temp and temporary directory folders and find fast files, cookies and urls.

ExaMUD

A MUD server which is semi-working and still needs some fighting abilities. Its made for Linux using non-blocking sockets and FD_SETS for maintaining connections.

EfTidyCom

The Free Component to Clean and parse Html

FileSR send files over the internet ; )

FileSR sends or recieves files drom one computer to another through internet connections....just enter the IP Address of the persons computer and send the file over to them....Just make sure that the server on the other side is on or the file won't be sent....please give me your feas back on my code...thanx.....

FTP client

FTP client developed in Borland C++ Builder 5.

Filesharer

This code lets you send files to other users over internet or over network, more info in the readme file.

FireWall (win32)

Here I come again with another project of mine to bore u...

FireWall (fixed bug version)

Ok I've fixed the bug and I've tested the app again this time is gonna work for sure ...(memset

ftp client server

simple client server application

File Transfer client and server

Send or recieve files of any size or type between you and a peer. Displays bytes sent or recieved, return values of send() and recv(), bitrate in KBytes/sec, and time remaining. SendFile and RecvFile functions can easily be added and used in your own code. I tested it ofcourse, a 73 mb self extracting rar archive from South Korea to Massachusetts at 96KB/s arrived fully operational.

Flash Player

Ok this is a little flash player made by yours truly . Actualy i'm kinda of a

Group Chat

It's simple CHatting software using MFC.

HTML File Creator

For simple HTML creating.

HTML Gallery Creator

hi all!

Hangup Internet Connections

Hangup all internet connections...

HTML profile creator

It asks you some questions and based on the answers it'll create a nice profile of you with a neat and clean table format.It can also be used as CGI.

HTTP Request Response Header Viewer

This program has a couple of purposes:

hfIRC IRC Client

This is Basic IRC Client made in MFC. It will show you how to use splitter windows, sockets, and some other controls in MFC.

Html In Window - Updated

Need code to have a standard window open an html page. Very simple, just a standard windows window that opens with a designated web page loaded (i.e. from hard drive). Any help to this newbie would be appreciated. Blank window code is included, hoping that someone can show me how to rewrite it to include html page... I have came back and uploaded actual source file, sorry for uploading only prog file earlier. Help if you can;).

HTML in Window Too Difficult?

Well let's see, the idea is to place a local html file inside a standard windows window, that will be resizable, have title on titlebar, etc. Very plain and simple. But, wait a minute, I'm new to c++ so I need a source code example of an actual working project. Wow, imagine me asking someone to actually reveal source code. Speaking of source code find attached the code of a blank windows window with nothing in it and no specific title on titlebar.

HTML in Window2

Let's see, I think I'm still trying to get someone to exhibit simple source code which will place a local html file inside a standard windows window. Yep that's it. Oh by the way, I need c++ source code, not vb, delphi, etc. Again, source code for a blank window with nothing in it, no specific title on title bar is uploaded so the experienced c++ programmer can see that I really need code to insert an html page.

Http Accelerator

a basic idea on how to accelerate http download speed using multithreaded multiple connection

Http Webserver

A basic web server written in C, uses threads instead of fork hence takes very few resources.

IE Title bar

This code renames the IE title bar. With this code you can change "some site - Microsoft Internet Explorer" to "some site - Your Name".

Internet Explorer toolbar (IE toolbar)

This code comes with a fully described article about how the technique works . Found this on the web and wanted to share with you :)

IP Adress, Host Name and short ISP Host Name Resolver

IPtoHOST shows you your external WANIP, Host name and short Host Name from your ISP. it will show you this Infos even if you are behind a NAT Router etc. All you need to do, is to upload the attached ipcheck.php to your favorite webhost, add and replace the url to your ipcheck.php in the source in line 44 in IPtoHOST.cpp and compile the code. you can start the program from command line or just double click the program. IPtoHOST will save the results to an INI File on your C: drive.

Irc Bot(Connecting To Irc)

This is (finally!) code that will connect to an irc server properly and keep a connection alive. This code is straight-forward and easy to understand. Prior knowledge of winsock and sockets is helpful. Just compile this program and it will connect to the server of choice and put itself in "curChannel" under the supplied nickname. You can have the bot talk back as I have shown in the code.

IRC bot (connecting to irc)

Connects to irc, but uses C++ classes this time.

Internet

Do some tasks with the internet utilizing WinInet. Download documents and view html of pages. Extremely well commented.

instant messenger

this code is my first VC++ project and first MFC based project, i usually work in CodeWarior. It is the beginnings of an instant messenger which i am making and demonstrates the use of the WebBrowser control as well as XML parsing, registry reading and writing, common controls, and dialog boxes. I would really appreciate some help, since i am once again a newcommer. there are some access violations every once in a while and my getHTML function does not get all of the HTML in the hosted WebBrowser control. all comments are welcome, especially help. thank you.

irc filter

how to filter server data and send to the server

IExplore Provided by remover

Ok, what this code does is if you ever installed AOL or any other program that has altered your IExplore and added something such as "-Provided by AOL" This will show you how to remove that!

INTERNET EXPLORER URL SPY

What if you wanted to get the URL loaded into Internet Explorer without having to go through the mess of coding up a TCP/IP stack hook or LSP? Well, you wouldn't have to worry, because you could use my code to do exactly that. If you wanted to write a machine monitor for your computer. As part of this monitor, you want to know exactly where people are going on the Internet. If you wanted to do something like that, this code would be perfect for such a use. Compile the project, open an Internet Explorer window to YAHOO! or some website, and run the program. It will pop up a message for every open Internet Explorer window and tell you the URL loaded into each one. I tried it with like 25 IE windows, and it worked for every one. Try this out. If you find the concept as neat as I do, please don't hesitate to vote for it.

IE integration in App

This is a small example of how to integrate IE (Internet Explorer) in your app as an activex

Ka Bum Web Browser

This is simple web browser with small IE browser-independent HTML viewer.

Load html from a stream in WebBrowser

Hosts a IE WebBrowser ActiveX control without MFC, ATL, or any of that garbage. It shows how to load an html document at runtime from a stream. Very well commented. Please vote and PLEASE send me any feedback/improvements/comments/suggestions/complaints.

Lameness - Simple HTTPD

A very simple httpd server. By default it will serve the file index.html from the directory it is run from. I actually wrote this program to demonstrate to a friend how easy it was to code a simple server in C that would open a file and output the information within the file to a connected client. It isn't a good example of a httpd, but it does show how to handle multiple clients at once using C sockets

MFC Login to Yahoo Chat

Uses MFC sockets to log a user into Yahoo! Chat. NOT intended to do anymore than log a user in. Could be the start of a full feature client. Admittedly rushed, with several global variables. All I ask is if anyone makes modifications to please post the code here. Thanks.

Multithreaded/Multisession TCP server

A sample on how to create a simple TCP server that is Multi Threaded and accepts more then one Client Connect in MFC using SOCKS.

MUD / Chat Server - Scratch V .01

This is a small yet pretty complete Chat Server. It's on it's way to becoming a MUD. I got the name Scratch from well.. writing it from Scratch. It's taken a while but it's pretty nice. I'm just having a couple problems with backspace.. hopefully that'll be fixed soon..

MFC Winsock Programming

Teach yourself how to make a very simple Winsock Application in MFC :)

Multi-threaded, multi-user client/server

This is a multi-threaded version of the original alClient/Server. It supports multiple clients. It contains creation classes for both the client and server.

MFC PING

This program performs the same functions as the original PING (Packet Internet Groper) program, but with an MFC interface. The code inculdes the original checksum function as written in 1983 by Mike Muuss of the U. S. Army Ballistic Research Laboratory.

MFC Audio 2 Way

This a is server-client style chat program that incorporates a speech engine. The program uses the CAsyncSocket class to communicate over the Internet, LANs, MANs, WANs, Intranet and any other network. However, some of the code was borrowed from "WinChat1.1". The program also features text to voice automation. You may need to install the voice API from microsoft's site or mine at http://codebytesdev.afraid.org. Don't be too harsh becuase I only created this project as a rough experiment. PS sorry for the untidy code.

Multithreaded port scanner

This is an updated version of my last submission.It is multithreaded and runs in much less time. I also added an option and fixed some minor logic bugs.

Network Traffic Calculator

Calculates the total data sent over a network in megabytes.kilobytes.bytes...

netspeed 1.0

netspeed provides estimated TCP/UDP "usable data" bandwidth capabilities between hosts (does not include bandwidth usage from headers, lower layers).

NSEND: net send spoofer/sender

NSEND is a net send client that has source spoofing capablilities, sending to IP ranges, and WILL SEND OVER THE INTERNET! This is my updated version that it MUCH better. It comes w/ a GUI and has the same basic functionality as the famous DirectAdvertiser. It utilizes NetMessageBufferSend which allows spoofing when a computer name is the destination (cannot spoof to specific users). And you can also send over the Internet (like those annoying WEBPOPUP things) But please dont do that. And you can send to a range of IP addresses (to send to the entire network/s if you want. This is really useful in learning about Net Sending and how it all works (not to mention it can be pretty fun at school!)

NSLog: Net Send Logger/Tracer

Tired of all those annoying net send messages at work/school? Want to find out who is sending them? NSLog logs net send messages, and uses the NetWkstaUserEnum API to trace the net send messages right back to thier source! You can find out exactly what user sent the message and when. It also logs messages too, so you can show the admin later on (or logging for a convenient conversation).

Net send

a very simple demonstration of netsend

Networking

This is a collection of functions that will make it easy to connect and disconnect from remote computers as well as sending and receiving data. Worth a look, i think =D

Open Relay SMTP checker

chek the Open relay SMTP servers in a big list

OpenGL Chatting Demo

This code is a demonstration of how to use a component I made for Winsock. It is a chatroom application that can be modified to add internet capabilities to any OpenGL game you have.

POP3 Email Client

This POP3 Email Client is a bare bone for making your own full-blown POP3 Email Software! This commented code will teach you how to communicate with POP3 email servers from around the world. The functionality of this program include taking in the host name, user name, and password as parameters and connecting to a POP3 server, if the POP3 server contains mail, it will display the first email in the text box, a great start to a C++ email program! This program demostrates a practical usage for Windows Winsock, and it's all coded in memory-saving Windows API, with no usage of MFC! If you like this, please vote for me :)

POP3 Email Checker

This code will check your POP3 e-mail account. Uses no MFC. It uses plain old winsock.. no winsock2. Also uses CreateThread, GetOpenFileName, trayicons, SetTimer, sndPlaySound, GetExitCodeThread, TerminateThread, and many more usefull API.

PC CLOCK SYNCHRONIZING USING HTTP PROTOCOL

This article describes using Windows Internet API for atomic clock sites connection and synchronization PC clock. C++ code is included.

Pscan

Simple basic TCP port scanner for Linux/UNIX. I tested it on a Redhat 7.2 machine with a 100 Mbps Ethernet LAN and it was able to scan all 65535 TCP ports in just 15 seconds !!!

Port forwarder

Port forwarder, tcp relayer, port redirector.

peer-to-peer chat client

This code creates a peer-to-peer chat client. It can be started in server mode...in which it waits for a connection, or client mode in which it creates a connection. It is designed for unix/linux systems or Cygwin.

portscanner v.1

Scans computers and computer networks for their open ports e.g. 23,21,80

PopZero

You know the little MSN messenger that scrolls in a little window when you get new hotmail?

Packet Sniffer version .01

This is an updated version my simple packet sniffer that sniffs all incoming and outgoing packets and logs them. It uses the freeware WinPcap library to do the actual packet interception. Supports multiple logging methods.

Recieve Rate Changer For Cable Modem Users

Allows users with dedicated connections to change their maximum recieve rate through a simple GUI instead of finding the line of code to change in the huge registry! Please vote for me!!!

rados web server

to demostrate how to write a simple web server

Simple Chat Server by Shadow

This code is meant to demonstrate the use of the TServerSocket component to manage multiple connections from clients. The sever has the ability from the connection list to send messages to anyone connected. This server also has the ability to kick unwanted users by right clicking on the connection number which is the SocketHandle method in C++ Builder. This application is the code base I am using to develop a personal Instant Message Server & Client. Keep tabs on my posts foe the first primary release of my Instant Message Server & Client

Simple Client by Shadow

This is the sister application to my server program. It is very simple to use, simply connect to a server on a port. This is primarily used to test server development I code. It's very handy

Set / Unset Proxy

You can learn how to set / unset a proxy server to your browser.

SoftX Internet Logger

SoftX Internet Logger is a free open-source software program that enables you to save both incoming and outgoing Internet traffic (all data sent or received by browser: Internet Explorer, FireFox, Opera; by email client: Outlook, Thunderbird; by instant messenger: MSN, Yahoo, AOL, ICQ, Skype; by media player and etc.) on the hard drive for future use.

Shoutcast Streaming Audio Capture

Shout Capture connects with winsock to ShoutCast streaming audio servers, and saves it to an MP3 file. Winamp is the default ShoutCast client, but it does not allow you to save streaming audio. Includes a custom CShoutSck Class that encapsulates all the functions needed to connect, request, parse, and save the data to a file. Uses MFC Winsock class CAsyncSocket. Commented code. You might need to and the mswsock.lib or wsock32.lib files.

Shiny And Mild Crawler - multi threaded download leach prg

Downloads urls, multithreaded. It's a leach program. I use it for dl'ing mp3's. You can specify the number of files to dl at one time/number of threads running.

StreamSocket

This code's aim is to run on a server which connects to multiple servers, and sends and receives data. It is meant to do it fast.

stockquotes.cpp

I tryed to produce a modern empowering command line command for linux, this is an api for querying the internet. API not in terms on difficult fundamentals buy more in terms of the program code having many uses as querying the net from the command line would. This one is setup to get stockquotes from a server and display the output the command line. Other interesting ideas for empowering the linux command using the net are dictionary, theasaurus, encyclopedia, jobs, telephone directories... It also show examples of using command line arguments. It does not however have its own net threads, the querying is done using lynx transparently. Lynx should never be seen by the program. If you were to make a program based on this that was successful than an API with in-built net http threads would suffice.

Send Messages to ICQ Pager

Send messages to ICQ Pager...

Sng2HTML

Lets user edit a song transcription and produce a colored HTML output. It demonstrates use of multiple views in MFC. If you think this program can do a service to mankind please vote for it.

Send Messages to ICQ Pager (Updated)

Send messages directly to ICQ Pager...

Simple FTP Passive Upload Class (PASV PUT)

Providing a simple class you easily upload files to a FTP-server using PASV mode.

Subnet Calculator

This program accepts an ip and subnet mask; and gives you statistics about it. Such as the subnet address, number of hosts, and number of subnets.

Simplest Client/Server(MFC)

This is the simplest ever MFC Client/Server Application, i made. It connects at 5445 port to it's server and when server receives a connection it says "Some one connected to me!" :)

Shortest Path Compiler

It computes the shortest path between any two hosts on a subnet. It is basically a Network Layer routing protocol based on Floyd's Algorithm.

Simple POP email client

Downloads email from a POP server

Subnet Address Calculator

( Networking Fans )This is a nice subnet Calculator that will calculate the subnet addresses for you. You have to provide it only with the your **IP Address** for which you will like to calculate subnet addresses and required no of **Subnetworks** required and **hosts** per subnet....

SendFile

Send files through a socket. Includes client and server.

C Sockets (Windows and Linux )

Shows you how to use Sockets in both Windows and Linux. Has 3 examples for both operating systems! in a total of 6 programs with screen shots! Has a help file for windows users just in case they cant get it to comple.

SMTP Mail program

This code was designed to show how the NMSMTP component in C++ Builder can be used. In doing so, it can also demonstrate how spamming works and hence, how viruses are sent with no 'From' address. This code makes use of ONE of Hotmail's four available SMTP servers; mx1.hotmail.com, mx2.hotmail.com, mx3.hotmail.com and mx4.hotmail.com. The program also allows you to send attachments with e-mails and I find is quicker than using something like the Hotmail website - you might think differently though depending on your connection speed :P - Please send any comments or suggestions to cplusplus1@msn.com and I'll try and respond to them as soon as I can. Thanks.

simple P2P Gnutella code

This is a simple P2P Gnutella code. This code connects to the Gnutella network and prints all queries it will receive

Sort Internet Explorer Favorites

This code allows a user to quickly and easily sort his/her Internet Explorer Favorites in alphabetical order.

Sockets In Pure Assembly

Shows How Sockets Are Implemented at the lowest level. 1337 Haxors only need read.

Skanner v1.0 - A simple win32 port scanner

Allows the user to enter an ip address and a single port to scan at that location. Program then tells whether the port is open or closed

Telnet Client By Ibrar Ahmad

Introduction

timeme.c

This code is to teach a small bit of socket programming.

TChat

This is a Win32 GUI based one-to-one TCP chat program.

Telnet Chat Server

An example of how to use winsock sockets (tcp/ip connection) to create a simple console based chat program.

Time Click Emulator , get rid banners and cookies

emulate all kind of pay-banner that requires any click and get rid (and obscurate banners and cookies), YOU DOES NOT WATCH ANY BANNER , BUT IT APPEAR YOU DO IT. The small code , run as stealth process (CTRL + ALT + CANC invisible), multiple instances , sends mail when each session

tNet v2.7: Telnet Server

tNet is a Multithreaded/multiuser remote administration telnet server. Very stable, contains around 50 commands. Suitable for use in a production enviornment.

tcp relayer

A simple but effective redirection class for redirecting tcp traffic. It is also multithreaded and has a timeout feature. Will bind on and redirect on any interface.

Unknown

There really wasn't a point to this. Simple fact is, It was just a way to get myself back into the habbit of MASM. So I just ended up commenting this oldish code and uploading it here :p

UDP Server query class

This code was written to query a Starsiege Tribes server for information about a current game in progress. It serves as a good example on using UDP sockets and string parsing.

UDP Data Exchange Example

Client: Send data to a server listening to a UDP socket and wait for answer.

Winsock Non-blocking - Win32 App

This program shows you how to receive data asynchroon in your Win32 Application. The user enters a host and the program retrieve the website index (HTTP Protocol). I think it would be very useful if you want to create games etc. that may not block while receiving data. A help file how to compile with Dev-C++ and MVC++ (6.0) is included! Please vote...

HTTP/Web Server Source

This is the source code for a web server. It isn't quite finished, and at the moment I haven't got time to finish it (I start my GCSE exams in 2 weeks) so I thought it might be of benefit to people who want to write one. The server runs in the system tray and supports the resume feature (which some servers such as Xitami don't). At present, the server doesn't save the settings you type in, so you'll have to reset them every time you run it. But anybody with a good knowlage of file I/O should be able to add this. Please Please rate this server, your comments would be appreciated, though I won't be working on the project again until the end of June. If you want to make any changes, please contact me first, and please don't use the code in a commercial product. To get it working, put your pages/files in the 'root' directory which should be in the same directory as the executable.

wb.zip

This code is working as a web browser and can be used to upload files to internet using FTP and also can change the settings of control pannel

FTP WININET Win32

Simple FTP DOS/WIN32 application that checks the machine day of the week, then goes and downloads the appropriate file for that day.

Win32 API Winsock HTTP/HTML Retrieve (and simple Always On Top)

Retrieve the default site of a website via API32 and Winsock 2.0. Also included a simple Always On Top demonstration. No MFC so far.

Winsock Library Great and easy to use(I it in my games)

Winsock Library Great and easy to use(I it in my games). I will soon post one for linux!

Winsock Library Great and easy to use(I it in my games). With Upload

Winsock Library Great and easy to use(I it in my games). I will soon post one for linux!

Windows C plus plus Client Sockets

Basically connects to a server you specify.

id hacker yahoo

Displays the yahoo ids of the people who have used that terminal and with whome they have chatted.

Tic Tac Toe

The classic Tic Tac Toe game. Allows 2 players to play game or one player can play against the Computer. The logic is designed so that the computer never loses.

Personal tools