Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

winsock

Posted on 1998-07-30
2
Medium Priority
?
215 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
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 viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

636 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