Solved

winsock

Posted on 1998-07-30
2
199 Views
Last Modified: 2013-11-13
Hi,

I want to create a program (who doesn't?) that monitors TCP/IP connections from and to the machine the program is running on. And if possible if the program does not like the ip adress that it disconnects.

Could any1 get me started with some functions, idea's ?

Kind regards,
Arijan
0
Comment
Question by:aluiken
2 Comments
 

Accepted Solution

by:
DanJenkins earned 100 total points
ID: 1467210
Search the Books Online for "Using the Winsock COntrol",  It contains working code for a client and server using both TCP & UDP protocols.  You will need to create an array of ports to "Listen" on for incoming connections.
0
 
LVL 1

Author Comment

by:aluiken
ID: 1467211
Thx for the tip
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 80
mapBully challenge 6 115
message box in access 4 41
How to produce a SHA-1 hash function in vb6 in order to save it to a table 8 36
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now