Advertisement

Results for "Category: Internet/ Browsers/ HTML"

ASP_Volume2 #40253
CHTTPSocket - Direct/ViaProxy - Reusable Class

CHTTPSocket class with full source code, full qualified, one step, HTTP client. Can fetch pages from web, no problems if You try virtual host. If You use proxy server, only set some variables and get it worked also. I also compile sample application which You can download and test.

ASP_Volume2 #40256
CHTTPTransaction - C++/Win32 - Reusable Class

CHTTPTranscation is an enhancement for CHTTPSocket class, with full source code. Full qualified, multiple redirections support, HTTP client. Supports all previous features: virtual hosts, proxy servers, plus new redirections support for standart HTTP 3xx responses. In sample, CSampleTrans is a sample class derived from CHTTPTransaction, briefly shows You how to derive Your own class. In CHTTPSocket some changes applied, many member functions and variables now private and protected. I compile sample dts.exe to show how it's working, no changes in calling syntax from previous version

ASP_Volume2 #40258
Check if connected in Internet

Check if connected in Internet... Windows 9X, ME, NT, 2000 and XP compatible...

ASP_Volume2 #40270
Send Messages to ICQ Pager

Send messages to ICQ Pager... Borland C++, C++ Builder and Visual C++ compatible... This is the first ICQ Pager program in the world !

ASP_Volume2 #40276
Hangup Internet Connections

Hangup all internet connections... Very simple function... Visual C++ and Borland C++ compatible. Windows 9x, ME, NT, 2000 and XP full compatible...

ASP_Volume2 #40284
Check If TCP or UDP Port is Busy or Not

Check if TCP or UDP port is busy or not... Windows 9x, ME, NT, 2000 and XP compatible. Borland C++ and LCCWin32 compilers tested !

ASP_Volume2 #40410
Send a TCP packet to a server

/* The purpose of this article is to help out people who know the basics of C but want to start learning TCP controls in C. This program will connect to a server and send a TCP packet containing "La la la la". */

ASP_Volume2 #40417
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. This application has been tested and compiles under Windows 98, Windows NT/2000, and Linux. I hope by releasing this source code that other people who want to learn C/C++ networking using Winsock can pick it right up and learn from my program. I know I had a fairly hard time finding example apps to learn from. Gotta give back! :)

ASP_Volume2 #40431
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  Important: Be sure to link your code with wsock32.lib and mpr.lib (already done in the sample) !! The sample shows you how to connect and listen for connections, send and receive data, and how to retrieve all computers connected to the LAN. For an online documentation visit http://code.jakobbieling.de/. Have fun (PS: I recommend using the new CNetworking. Browse through my other submissions to find it.)

ASP_Volume2 #40436
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. Try it out, a lot of time has been put into this code so it should be almost perfect!

ASP_Volume2 #40441
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.

ASP_Volume2 #40485
Telnet Client By Ibrar Ahmad

Introduction This is a telnet console application that implements the Telnet client protocol (rfc854.) I have run it on VC6, NT4.0 SP3 Telnet The purpose of the TELNET Protocol is to provide a fairly general, bi-directional, eight-bit byte oriented communications facility. Its primary goal is to allow a standard method of interfacing terminal devices and terminal-oriented processes to each other. It is envisioned that the protocol may also be used for terminal-terminal communication ("linking") and process-process communication (distributed computation). General Considerations A TELNET connection is a Transmission Control Protocol (TCP) connection used to transmit data with interspersed TELNET control information. The TELNET Protocol is built upon three main ideas: first, the concept of a "Network Virtual Terminal"; second, the principle of negotiated options; and third, a symmetric view of terminals and processes. When a TELNET connection is first established, each end is assumed to originate and terminate at a "Network Virtual Terminal", or NVT. An NVT is an imaginary device, which provides a standard, network-wide, intermediate representation of a canonical terminal. This eliminates the need for "server" and "user" hosts to keep information about the characteristics of each other's terminals and terminal handling conventions. All hosts, both user and server, map their local device characteristics and conventions so as to appear to be dealing with an NVT over the network, and each can assume a similar mapping by the other party. The NVT is intended to strike a balance between being overly restricted (not providing hosts a rich enough vocabulary for mapping into their local character sets), and being overly inclusive (penalizing users with modest terminals). This Project has five Main Classes CSocketDx CSocketDx Class is used to establish TCP connection. It has 3 functions CSocketDx(char *,int); ~CSocketDx(); int Create(); int Connect(); SOCKET TelnetConnect(); CSocketRx CSocketRx Class is used to Receive data. It has only one thread. CSocketRx(); CSocketRx(SOCKET,HANDLE&); virtual ~CSocketRx(); static DWORD RdTh(CSocketRx *); CSocketTx CSocketTx Class is used to Send data. It has only one thread. CSocketTx(SOCKET,HANDLE&); virtual ~CSocketTx(); static DWORD SendTh(CSocketTx*); CProtocolRx CProtocolRx Class is used Implement Telnet protocol. inline void yesreply(SOCKET server, _verb verb,_option option); inline void noreply(SOCKET server, _verb verb,_option option); inline void askfor(SOCKET server, _verb verb,_option option); void TelentProtcol(SOCKET server,unsigned char code); Platforms I have run it on VC6, NT4.0 SP3; I did not test it on 95 and VC5 Limitations Cannot handle arrow keys

ASP_Volume2 #40493
Using C++ for CGI work.

This isn't much, but it shows you how to use C++ to make CGI programs. NOTE: Please read "Explanations/Assumptions" for instructions on how to use this.

ASP_Volume2 #40525
A Very Simple COM Server and Client in MS VC++ 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. This very simple com server is something I had been looking for to help me understand the insides of the "black box" that is COM as presented in MFC and ATL. As a developer learning COM, I was unable to find an extremely simple, clear implementation of COM without having to also deal with ATL, MFC or the IDL (not that they are difficult to understand, but just additional overhead). I hope this will be useful to others who want to understand some of the insides not usually seen when using the AppWizards. The Server is implemented as an empty win32 simple dll project with no original files or text created by Visual Studio, other than the Stdafx.h and Stdafx.cpp files. The client was created as an empty simple win32 console application, including no generated code from Visual Studio. The Globally Unique Identifiers were created using Guidgen.exe included with Visual Studio. After downloading the code, unzip and open the file Pig.dsw in MS Visual C++. Both Pig and Pig Client should open. Compile Pig first, then register the dll using regsvr32.exe. (inside the directory containing Pig.dll, run regsvr32 using the command "regsvr32 Pig.dll"). After successful registration, compile and run PigClient. You should get a messagebox indicating the server was accessed successfully. Albert

ASP_Volume2 #40538
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

ASP_Volume2 #40601
MasterSocket

MasterSocket is a class which encapsulates connecting, and listening with a socket. It also keeps a hold of the sockets id, automaticly initilizes winsock, and destroys winsock. Its good if you dont know how to use winsock.h, since it makes it a whole lot easyier.

ASP_Volume2 #40602
MasterSocket Example Package (2 Programs)

These are the examples on how you can use MasterSocket. There are two examples, the first shows how to setup the socket to listen, and the second program sets up a socket to connect. So basicly open up both of them, and connect. The First will display the data coming in, and the second will pass it the data. It shows how you can use the MasterSocket class to connect and pass data back and forth. Fully commented.

ASP_Volume2 #40618
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 :)

ASP_Volume2 #40643
timeme.c

This code is to teach a small bit of socket programming. It connects to a simple time server and reads the time and prints to the screen. Easy to read code. Please vote. Also check out my other submissions and vote for those too!

ASP_Volume2 #40657
Webserver Logfile Analyzer

I wrote this quick bit of code after looking at the cost of a product from the leader in the analysis of logfiles. - I'm a website operator and I have my sites hosted, and as such, the little things, like bandwidth usage, become rather important. Free Online Service type methods for tracking website usage cant provide bandwidth reports because a website is more then just html files. This program will go through a logfile of a specified format and add up the total bandwidth from server to client.

Languages
Top Categories
Global Discovery