Hey, thanks a lot, problem is solved with LL ... :)
Type: Posts; User: rehman12390
Hey, thanks a lot, problem is solved with LL ... :)
I want to assign 0x0000041727101980 to int64_t, but the above warning is coming i.e. integer constant is too large for 'long' type.
how can I overcome it using the type int64_t
It's not like that, it is some how like a proxy server.
Well thanks for the help. I think simple raw sockets with recvfrom() can handle greater amount of data rate .... :)
Hi, I want to sniff only those packets that do not belong to my machine.
I rephrase it as:
Suppose my machine has 2 ether-net ports. Having IP addresses as A.A.A.A and B.B.B.B
Moreover, I want...
Hi there ... after a long time, I was little busy, again with the same problem.
Problem: My program is eating memory and consequently it crashes. Why the program crashes ?
I am testing the...
The problem is not like that .........
I know the
delete message1;
works fine.
but the problem is that the memory allocated in the main cannot be released by the threads, consequently...
Guys, I have got a new problem with it. I am not able to delete the allocated memory, here lies the code
#include <iostream>
#include <pthread.h>
#include <sys/socket.h>
#include...
I am now able to pass a struct message type variable, but I have another problem....
I am passing a dynamically created memory like.
int main(){
message *message1 = new message;
pthread...
in the function pthread_create(), I want to pass a structure in the fourth argument place.
like
struct message{
int a;
int b;
};
I have tried this using two ways:
1-libnet
2-bsd socket i.e. sendto() function.
the problem still lies, I am not receiving the ACK flagged packet after sending the SYN+ACK packet.
the two...
I am doing packet spoofing but getting an issue.
I am capturing packet using SOCK_RAW, working with the TCP packets. doing Ethernet spoofing or just packet spoofing using LIBNET.
1 - Used RAW...
thanks for reply. I was a little confused, now I think I got the thing. I am now binding the port at the client side just like we bind the port at the server side. I think it is the right approach
Hi all, I am trying to write a client side program through socket programming. My question is that how can I specify port for my client. Suppose I want to use port number 5454 for the TCP connection...