Results for "Category: Internet/ Browsers/ HTML"
A Non-block winsock server that can handle multiple connections. It isn't finished yet, but i'm hoping finish it soon. It currently is just a console application that shows what the user sends & detects new connections / disconnections. I will soon add suport for linux and add functions to send/broadcast messages. I'm new to C++, besides the hello world app this is my first c++ proggie. I'd appreciate some feedback very much. And like to hear from you how I can improve my server (Its killing my cpu :), would it be better if I'd ran my server in a seperate thread???)
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).
Teach yourself how to make a very simple Winsock Application in MFC :)
Use this programm to chat over a client /server netwrok ,Using MFC sockets ,it easy to use and cool with sound notifivation support
This is an Chat program that works over the internet and LAN! Works Fine!
It's simple CHatting software using MFC.
This program has a couple of purposes: 1) You can learn a bit about client programming. 2) You can see how to create an application window with its child windows (buttons, text fields, etc). Before it will compile, you must link in Wsock32.lib. It is pretty well commented. Enjoy.
Send files through a socket. Includes client and server.
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. The example programs are: Client, Server and IP Address lookup program.
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 ;)
Simple example of how to grab(some people like ti call it 'steal') the HTML source of a page from a application... There are a couple of examples here at PSC, but they are not very good because they use ReadHuge to store all of the data in a buffer which can cause memory problems, incomplete page sources, and of course ugly boxes due to no carriage returns or line breaks... This ReadString version is alot more efficent... It works 100% in MFC... And since this code is so easy to implement into virtually any project, I am NOT going to post the project files unless I get alot of requests
Hi friends AnkiChatter is a multiperson chat server compatible with Linux as well as solaris system. You can start the server on one machine and then telnet to port 7989(ankichatter port) from different machine or localhost. It can be developed in to a much powerful chat server for any college/school project or for commercial purpose. The data structures are designed in the way to make it powerful but due to shortage of time I was not able to add some more features to it. That's why some part of code is mysterious( but program is simple ) because these features are not completed :-). Feel free to ask your queries.
Want to send SMTP email from your ASP app? CDONTS is a free e-mail component that comes with IIS4, that (despite its weird name) is very easy to use and has good performance. The setup actually takes longer than the trivial scripting. To set it up, first, make sure you have installed the SMTP service. It is installed with IIS by default, but if you've messed with your settings, you may ahve to reinstall it. Check that the SMTP service shows up in the services part of the control panel and that the file CDONTS.DLL shows up in your System32 directory. Then using the following code. Don't forget to substitute the email address you want to send to for someaddress@someplace.com, which appears twice in the code).
The response.redirect method is great for moving a user from one page to another. However, it does have one major limitation--you can only use it if absolutely nothing has been written to the page. Sometimes, you actually do want to write something to the page and then redirect it, for example when displaying the status of an operation. In this case, the following JavaRedirect function comes in handy. It requires a Java compatible browser. (Note:this script has been changed to incorporate Lewis Moten's helpful suggestions).
This is a great tip that is NOT documented in the Interdev help..how to get the referring URL of the browser. You can use this to track what traffic you are getting and from where.
This Cookie tutorial is designed for anyone interested in learning how to control a cookie with ASP.
My head-ache medicine for programming cross-browser webpages.
You can't get too far in ASP without an intimate knowledge of HTML, so this tutorial will take a newbie through the ABC's of HTML...one step at a time. It's also a great reference for pros who forget how to use little known tags! By pubs@ncsa.uiuc.edu
You can't get too far in ASP without an intimate knowledge of HTML, so this tutorial will take a newbie through the ABC's of HTML...one step at a time. It's also a great reference for pros who forget how to use little known tags! By pubs@ncsa.uiuc.edu
Create a form that will submit a URL to the search engines. Submision to 24 search engines is supported. The code includes both a form and a response file. Both may be customized. This first form should be placed in any .asp file. The 2nd file must be save as "submit.asp" in the cgi-bin directory. http://www.submitside.com/script/submit/aspsubmit.html