@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.
Type: Posts; User: odomae
@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.
class MyClass {
private:
unsigned long len;
unsigned long *data;
public:
// Constructor
// Overloaded Operators
MyClass & operator=(const MyClass &);
I put both interfaces in promiscuous mode and now everything works fine.
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...
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...
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);
...
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...