Search:
Type: Posts; User: axr0284
Search:
Search took 0.02 seconds.
-
August 22nd, 2006, 11:00 AM
Well I created an MANET emulator for a thesis. But it requires multiple computers with 1 real wireless transceiver connected to each computer. Since students might have to use this software, I would...
-
August 21st, 2006, 11:12 PM
What if I want multiple programs on the same computer to communicate via localhost ip address. Is that possible using UDP or TCP.
Amish
-
August 20th, 2006, 11:53 AM
Hi,
I was wondering how to broadcast packets onto a private network using winsock. I have used winsock before to set up a server/client connection but I do not understand how to have 1 machine...
-
July 14th, 2006, 05:05 PM
Thanks for the reply. Exterminator could you explain more about what you mean by "You lose the type information and for some other casting operators, you get an overhead."
Also any idea how to...
-
July 14th, 2006, 01:28 PM
Hi,
I have been reading in a lot of places that using reinterpret_cast is bad but they never explain the reason for it. I use it a lot in my code to convert int to char * since I need to send the...
-
Obviously I created application B for testing purposes but the program will have to work with other peoples's code also so mitsukai use your head before insulting people. I don't know how to use pipe...
-
I cannot be sure application B will be a gui or not. Yes it would be a third party program. That's the main problem Therefore the process A that will kill application B has to be able to emulate...
-
Hi I have a console program A that launches another application B I created. Application B uses a lot of threads that uses while loops to wait for certain events or to know when to exit when a...
-
I see. Thanks for taking the time to help me out.
Amish
-
wildfrog was right on the money. After I added ws2_32.lib as an additional library to link in, it worked fine. I was wondering how'd you figure it out and how it is related to stdafx.cpp. Thanks a...
-
Hi,
I am a little puzzled about something. I am using msvs 2005 and I tried compiling a program that is a server client program so it uses winsock2.h. Since the program is a win32 console...
-
June 27th, 2006, 10:10 AM
I think marten range was right on the money there. It must be that one of my threads is calling EnterCriticial section multiple times without calling LeaveCriticalSection. Alas posting some simple...
-
June 26th, 2006, 07:40 PM
I do call EnterCriticalSection and LeaveCritical section but the problem described above still happens
Amish
-
June 26th, 2006, 02:45 PM
Hi I am using critical section and I have a question. I thought that if a thread locks a critical section, another thread will wait until the first thread unlocks the critical section. It seems that...
-
June 20th, 2006, 01:10 PM
my bad. I'll be more careful next time when posting code. Thanks
Amish
-
June 19th, 2006, 09:36 AM
I located the error. It was not the vectors after all. I am using callback functions in this class and I tries to do the following:
int main(int argc, char* argv[])
{
aodv_rit *aodv = NULL;...
-
June 19th, 2006, 08:42 AM
Isn't that what I did here:
class aodv_rit
{
public:
std::vector<int> intest;
int recvPacket(unsigned char *packet, int size);
}
-
June 19th, 2006, 08:15 AM
I tried it with an int too just to be sure:
class aodv_rit
{
public:
std::vector<int> intest;
int recvPacket(unsigned char *packet, int size);
}
-
June 18th, 2006, 09:35 PM
Hi,
I have been trying to get this to work for sometime now but without success. I am trying to use a vector of structures in the following class:
class aodv_rit {
public:
/*This...
-
June 18th, 2006, 09:27 PM
Sweet thanks for the help.
Amish
-
June 17th, 2006, 06:20 PM
Hi,
I have been trying to use callback functions without any success. I tried to follow the example B on this webpage:
http://www.newty.de/fpt/callback.html#member
Here is the code:
class...
-
Ok i am offially brain dead :) Thanks for noticing that though. You're right, I was looking at it wrong. I guess I got wrapped up into which is a pointer and which is actual data in the debugger...
-
Hi,
Since I need to send a long variable through a network. I need to convert it to a char * first. I tried to use reinterpret_cast without success.
long numBytes = 0;
char *test;
char...
-
Here is the whole code. I never call WSAAsyncSelect(), WSAEventSelect() on it or used ioctlsocket() so it has to be in blocking mode. Yet I still get the error. As for using 0 instead of MSG_WAITALL,...
-
Thanks for the reply. Lemme see if I get this right
So if I am creating a SOCK_DGRAM, I cannot use connect function. So can I just remove the connect part and use the sendto without connecting to...
|
Click Here to Expand Forum to Full Width
|