Solved

winsock

Posted on 1998-07-30
2
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

688 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