Search:

Type: Posts; User: rehman12390

Search: Search took 0.01 seconds.

  1. Hey, thanks a lot, problem is solved with LL ......

    Hey, thanks a lot, problem is solved with LL ... :)
  2. integer constant is too large for 'long' type

    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
  3. It's not like that, it is some how like a proxy...

    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 .... :)
  4. Sniffing Only Packets that don't belong to my machine

    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...
  5. Replies
    14
    Views
    5,917

    Hi there ... after a long time, I was little...

    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...
  6. Replies
    14
    Views
    5,917

    The problem is not like that ......... I know...

    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...
  7. Replies
    14
    Views
    5,917

    Guys, I have got a new problem with it. I am not...

    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...
  8. Replies
    14
    Views
    5,917

    I am now able to pass a struct message type...

    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...
  9. Replies
    14
    Views
    5,917

    pthread_create() issue with argument 4

    in the function pthread_create(), I want to pass a structure in the fourth argument place.

    like


    struct message{

    int a;
    int b;
    };
  10. Replies
    3
    Views
    4,342

    Code Issue

    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...
  11. Replies
    3
    Views
    4,342

    Packet Spoofing using Libnet (Issue)

    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...
  12. thanks for reply. I was a little confused, now I...

    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
  13. writing a client program - socket programming Linux

    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...
Results 1 to 13 of 13