![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to restore original package after uninstalling the upgraded package using rpm | amitpansuria | Linux | 0 | 05-27-2008 01:08 AM |
| log send, sendrec, recv and notify system calls | pedrosacosta | UNIX for Dummies Questions & Answers | 0 | 02-04-2008 01:45 PM |
| Use Send command of Expect package | neha123 | Shell Programming and Scripting | 6 | 12-23-2007 10:39 AM |
| UDP socket - can both client and server recv and send | rvan | High Level Programming | 1 | 05-08-2007 11:36 PM |
| recv() problems using AIX 4.33 | hazard0007 | High Level Programming | 1 | 04-16-2004 10:13 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
In attachment, is the code to test IP by ARP proxy. I always use it to test a IP already existing in my cluster.
Usage: arp_func eth0 192.168.1.1 Enviroment: IA64, RedHat AS3.0, 2.4.21-15.EL, gcc-3.2.3-34, "gcc -o arp_func arp_func.c" When the code below added before test_ip() in main(), program could receive ARP reply correctly: fprintf(stdout, "anything"); or fprintf(stderr, "anything"); or getchar(); or fopen("anyfile", "anymode"); But, if the code above removed, recvfrom() fails and error is "Invalid argument". I don't understand why the operations on other fds could affect the socket. any dude can explain it? thanks in advance:-) |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|