C++ :: How To Connect To Router Using WPS Protocol

Apr 29, 2013

I own a code written in c++ that is used to connect the router using the WPS protocol, but has to be modified to operate in "registrar" mode and I do not know much about c++.

View 1 Replies


ADVERTISEMENT

C++ :: Accessing WiFi Router Options?

Feb 3, 2014

Is there a way to access the router settings via c++? My friend wanted me to write something that would turn off wifi broadcasting on his router when pressing the button in the program. The only way I can think about is to connect to the router via .net framework and then use reverse engineering (on the router settings site) to find a way how to simulate change of option via POST or GET method.

View 5 Replies View Related

C++ :: WinSock - Can Connect To Localhost But Cannot Connect To IP

Dec 22, 2013

I'm getting error ID 10061 - WSAECONNREFUSED - No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host—that is, one with no server application running.

However, when I use 127.0.0.1 or localhost dns, everything works fine, Im connecting to the ip from [URL] .... with port 1337 ...

View 4 Replies View Related

C++ ::  Decrypting And Encrypting Following A Certain Protocol?

Mar 26, 2014

I have a certain method of encrypting text. You get the first character of the word. For example in the word "hacker", you get 'h', and then you get the last character 'r'. The encrypted word until now is "hr". Then we get the same word with the 'h' and 'r' removed, now it's "acke". I do the same thing and get the first character 'a' and the last one 'e' and them to the encrypted word: it is now "hrae".

The left letters of the word are "ck", again we do the same thing and take the first character 'c' and the last character 'k' and and add them to the new encrypted word so it is "hraeck". The above word has an even number of characters and at the end had 2 characters left 'c' and 'k',first and last, in some cases of words with an odd number of characters, only one character is left! I'm completely lost on how to encrypt and decrypt this.

View 4 Replies View Related

C++ :: UDP Protocol In A Conditional Statement?

Nov 4, 2013

I'm facing a serious problem with udp protocol. I have Master & Slave devices.I did implement the class as the follow pseudo code states

In Master side

while (true)
{
1-send data to slave;
2-get data from slave;
3-apply force;
}

In Slave side

while(true)
{
1-get data from master;
2-if (collision happnes)
send force to the master
}

the problem is in line 2 in Master side. Once I include the line I can't send or receive data. What do you think the problem is?

View 3 Replies View Related

C :: Address Family Not Supported By Protocol In Socket Programming In Linux

Oct 31, 2013

I am writing on C simple socket programs in Linux. I wrote client and server C programs. My client program is Code: #include<sys/socket.h>//for socket(), connect(), sendto() and recvform()

#include<sys/types.h>
#include<netinet/in.h>
#include<netdb.h>
#include<stdio.h>// for printf() and fprintf()

[Code]....

I am just testing whether can connect or not. I run server program first and client later. But when I run client, it showed that "Address family not supported by protocol".

View 3 Replies View Related

C :: Standard USB Protocol To Follow To Send Data To Embedded Board (and Vice Versa)

Mar 13, 2013

Is there any standard USB protocol which i can follow to send data to my embedded board(and vice versa). I have no clue on USB programming using c,is there any example code i could follow,

View 4 Replies View Related

C# :: Server Application Using Tcp Protocol And Then Establish Connection With A Client Application

Nov 29, 2014

What happens if I make a server application using tcp protocol and then establish connection with a client application but the server crash and then the client send data. Will the data be lost or the system will continue trying to send it?

View 2 Replies View Related

C/C++ :: How To Connect DLL To Project

Aug 29, 2012

How I can connect BoxedApp.dll for my C# - project?Is it real?

View 4 Replies View Related

C++ :: How To Connect To Other Devices Remotely

Oct 25, 2013

I want to connect to other computers remotely and for example grabbing some data from them. Do we have any c++ library for this purpose? And if yes, any good documentation about it.

View 1 Replies View Related

C++ :: How To Connect To MySQL Database

Mar 26, 2013

I have so far tried MySQL++, ODBC, SimpleDB, and the MySQL C++ Connector. All of them give me a FLOOD of errors in the output. Is there an easy way to connect?

View 7 Replies View Related

C/C++ :: How To Connect With Oracle Database

Sep 24, 2012

library management system in which c is used as front end and oracle is used as back end in order to retrieve the data. if possible can u send the source code for it.

View 1 Replies View Related

C++ :: Connect 4 Using Dynamic Memory Allocation?

Jul 3, 2013

I am creating a connect 4 game using dynamic memory allocation the question is;

Write a two-player game of Connect Four where the user can set the width and height of the board and each player gets a turn to drop a token into the slot. Display the board using + for one side, x for the other, and _ to indicate blank spaces.

I have created the board. However I am unsure as how to make a start on getting the players to make moves.

Code:
#include <iostream>
using namespace std;
char **create_table(int width, int height, char blank) {
char **p_p_connect4 = new char*[height];
for(int i = 0; i < height; i++) {
p_p_connect4[i] = new char [width];

[Code]....

View 1 Replies View Related

C :: Connect Program To Windows Session ID

May 16, 2013

I need to get the Win OS Session name to a string in C. How can I get to that?

View 1 Replies View Related

C :: Creating A Kind Of Connect 4 Game

Nov 14, 2014

I'm creating a kind of connect 4 game that will be due on November 30. I'm starting now so that I don't have to worry about it as much later. Anyways, I just started, and I already have some questions/problems. I want to be able to change that numPlayers outside of the function, so I used pointers like my instructor said to, but it is giving me an error that numPlayers(the argument) is not an int*. How do I fix this?

Code:

int numPlayers=0;
void promptNumPlayers(int *numPlayers)
{
printf("Enter the number of players: ");
*numPlayers=readInt(stdin);
if (*numPlayers != 1 && *numPlayers != 2)
}

[code]...

View 3 Replies View Related

C++ :: Connect Computers To Play Game?

Nov 16, 2014

I have a Blackjack game that allows users to create a login account and it keeps track of their bet amount, and total bank,etc. How can I connect the program on 2 or more computers so that people can play together?

(A) How would I code it? (B) Can I just connect a USB or HDMI and use the appropriate code? (C) Do they need to be executables instead of just running out of Visual Studio? (D) Can this maybe done over Wi-fi? (E) Or is this something more complicated like over a VPN?

View 2 Replies View Related

C++ :: Connect 4 Program With Minimax Algorithm?

Dec 27, 2013

this is connect 4 program with Minimax algorithm using NegaMax algorithm and I don't know actually if I implemented it correctly ..how to evaluate neutral moves check it out and tell me how to implement it better

#include <iostream>
#include <cstdlib>
#include <conio.h>

[Code].....

View 4 Replies View Related

C/C++ :: How To Connect Program With SQLite DataBase

Mar 30, 2014

I am studying Software Engineer and i have a project on C. The project is a simple Pharmacy Management. I know how to develop it also i have already created the DataBase but i don't know how to connect it.

Well here is the code :

#include <stdio.h>
void main(void) {
int option;
puts("Farmacy Managemet
");
puts("Options :

[code]....

So... I'd liked to save the details from <scanpre> to sqlite db. Also i'd liked to load the details to <scanmed> from my db (name,price,form, etc.)

View 4 Replies View Related

C# :: Connect Printer Till To Database

Dec 21, 2014

I'm in the middle of creating a ePOS for my uncle and so far I've created a database for it where it will create, update and delete records successfully.

My next step I would like to do is to create a printer till thing, but how do I connect my database to that ?

I can create a till but how do I do link my database with it? I followed this example here [URL] ....

View 5 Replies View Related

C Sharp :: Connect Web Service To Two Applications?

Jun 7, 2012

I have an client application and server application, I want to make an update program, In my program I want client send a message to server if there is an new version or not, and server reply with a text message ,send will be done via web service .

View 1 Replies View Related

C++ :: Ifstream Object Won't Connect With A File

Oct 9, 2014

Is there a way to make this program work without entering the full path to a file?

Code:
ifstream ex("podatki.txt", ios_base::in); // if I type full path than program works
if(ex.is_open()) cout << "The file is open and con. with the object." << '
';
else cout << "you messed up" << '
';
int counter = 0;

[Code] ....

View 1 Replies View Related

C# :: Connect Multiple Textbox To Database In WinApp

Jul 27, 2013

I have created 2 form which is login form, which username textbox already connected to the database and it is successfully. When user login, it direct to the second form, and in the second form, there are multiple textbox that i have created using Array List, and it has shown.

Here is my problem: I want to connect the textboxes in second form to the database, but it shown nothing when i run the program, i already trace the code which is the error, and the error is on when OleDBDataReader is reading, i dunno what's wrong with my code, in login form it run perfectly, but in the second form, there is an error.

Here is the image for Login Form:
Here is the image for Second Form:
Here is the code for Second Form: [CODE]

private List<List<TextBox>> textBoxCodeContainer = new List<List<TextBox>>();
string connectionString = (@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=ArchivesProjectsProgramSell SystemSell SystemApp_Datadb1.accdb;Persist Security Info=False;");

//****TextBox for Code****
for (int y = 0; y <= 16; y++)

[code]....

For the Second Form, in the column of code, it supposed to shown the autocomplete like at the Login Form.

View 2 Replies View Related

C++ :: Write A Program That Will Connect Laptop To Desktop?

Jul 5, 2013

write a program that will connect my laptop to my desktop unlike gotomypc.com. I want to have my desktop hooked up to a router and sends video and audio info to my laptop. At the same time my laptop will be sending it's keyboard and mouse. If there is an audio input from a microphone it will send that to the desktop. If the webcam needs to be used for something like Skype, it will send that to the desktop too. I think it would be faster for the laptop to process any flash drives, but it should be able to send that to the desktop too. Has a program like this already been created? Is C++ an optimal language to write the program in?

View 5 Replies View Related

C++ :: Why Can't Create A Connect Socket Function Outside Of Main

Jul 11, 2013

Ideally i would like to use this model but im having difficulty, is there a way in which this will work?

void loginfunction (string,int);//function prototypes
void sendfunction();
void recivefunction();
int main {
loginfunction (cplusplus.com,80);
loop()

[Code]...

View 12 Replies View Related

C# :: Error - Unable To Connect To Remote Server

Jan 23, 2015

I have an error with unable to connect to remote server when it debug to this stream line as below :

Code :

FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create(FTPAddress + "/" + Path.GetFileName(filePath));

request.Method = WebRequestMethods.Ftp.UploadFile;
request.Credentials = new NetworkCredential(username, password);
request.UsePassive = true;
request.UseBinary = true;
request.KeepAlive = false;
request.Proxy = null;

[Code] .....

View 1 Replies View Related

C# :: Connect To Cpanel MySQL Database Remotely

May 15, 2014

I just got this new project from my employer. He asked me to create a desktop application that could remotely access our sites database in cPanel.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved