Search:

Type: Posts; User: odomae

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,045

    @whiteflags - Yeah, I am trying to return bytes...

    @whiteflags - Yeah, I am trying to return bytes of the 'data' array in the [] overload. How do I do this?

    @tabstop: I have actual code to set boolean flags.
  2. Replies
    5
    Views
    1,045

    Operator overloading

    class MyClass {
    private:
    unsigned long len;
    unsigned long *data;

    public:
    // Constructor

    // Overloaded Operators
    MyClass & operator=(const MyClass &);
  3. Replies
    4
    Views
    5,609

    I put both interfaces in promiscuous mode and now...

    I put both interfaces in promiscuous mode and now everything works fine.
  4. Replies
    4
    Views
    5,609

    Yes, it is in reference to the 'Linux raw socket'...

    Yes, it is in reference to the 'Linux raw socket' post. Sorry I didnt explain it well. I have code that sends packets (pre-canned headers etc) from eth0. Based on information in the packet, the...
  5. Replies
    4
    Views
    5,609

    raw sockets/wireshark

    I have code that sends and receives using RAW sockets. When I have wireshark capturing on the interface, my code receives the packet. Else, my code waits in the recvfrom(). What would cause something...
  6. Replies
    3
    Views
    13,178

    void initializePorts(char *sendport, char...

    void initializePorts(char *sendport, char *recvport, int flag)
    {
    struct ifreq ifr;

    printf("Enter initializePorts() with send_socket_fd, recv %d %d \n", send_socket_fd, recv_socket_fd);
    ...
  7. Replies
    3
    Views
    13,178

    Linux raw socket

    I am trying to send a packet on eth0 and receive on eth1. When I use ethereal, I do see the packet come back on eth1, but my listen code (on eth1) picks up the packet that I sent on eth0. What am I...
Results 1 to 7 of 7