Creating a Connection in a c++ program [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have to create a simple application for accademic use, where I have to instantiate an authentication run using diffie hellman and other stuff. I need to know how I can create a connection between two instance of the program. Can I create some type of connection (maybe TCP) with c++ function?? There's some libraries to do the networking?

You can use boost, here are some examples:
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/examples.html

The term for such communication is Inter Process Communication (IPC)... you might start by reading http://en.wikipedia.org/wiki/Inter-process_communication

Related

socket.io with c++? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Please tell me can I wrote some c++ console application and connect on some node.js server(on nodester example) which using socket.io? Some (C/C++) -> (node.js/socket.io) library? Thanks
boost::asio based c++ socket.io client
Yes, it is possible. FWIW, an open-source project does this in Objective-C, which should at least give you some ideas on how to do it in C/C++.

How to start writing a firewall for linux? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to develope a firewall for Linux. I prefer C/C++ language.
Is there any simple sample code for writing a firewall?
Which libraries should I use?
Update: There are some firewalls for Linux, but I want develope a simple firewall for learning.
You can start by using the Netfilters API (http://www.netfilter.org/). I think it is a good starting point for packet filtering. I've worked a lot with this API in kernel space. I'm not sure if there is a library for user land, but I must tell you that it's pretty easy to develop something with netfilters in the kernel.
As an example, iptables use the netfilters API.

Excel event listener in C++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to write an event listener in C++ for MS Excel (2007/2010), and I am looking for resources that can get me started, preferably a working code sample.
Microsoft Support has a HOWTO called "Handle Events for Excel by Using Visual C++ .NET". The example code there is fairly long, so I don't want to paste any of it here. Ask new questions if you find any of it confusing.

control windows services in C, C++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to monitor the status and also controlling the status of the services in windows with C or C++ programming. I have done it in C# .... but I need help how to do it in C or C++ ??
The following list of WINAPI functions will be useful:
OpenSCManager()
OpenService()
ControlService()
CloseServiceHandle()
There are many other service related functions which are listed on each of these pages.

about win32 standalone:tracking a browser? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to make a standalone using c++.In my standalone I want it to track user's clicks,I mean which link does he/she clicks.I am trying to count how much time he/she uses a perticular site,like pageaddict(a firefox extension).
So any support..?
If you want to make a Firefox extension, you should be using JavaScript. In C++, you might make a sniffer, which could tell you from what site the packets you receive are from. But that would require quite a lot of knowledge and of time.