Re: problem running a UDP client and server

2006-06-26 Thread Varun Sharma
Hi, I would write some points here for that long code which make sense to me and may be the problem. 1. I tried both MSG_PEEK and MSG_OOB and still I am getting an EINVAL. 2. The process does a fork and the child does the connect to the destination, sendto and the parent does the recvfrom. 3.

Re: problem running a UDP client and server

2006-06-26 Thread Varun Sharma
Hi, Thanks a lot for your help, but my flag option is a default 0. This is the same option that I am using with a normal UDP client and normal UDP server which are working fine. Should I change this. I am attaching the piece of code of the client: in_addr_t gethostaddr(name) char *name; {

Re: problem running a UDP client and server

2006-06-26 Thread Corinna Vinschen
On Jun 26 17:41, Varun Sharma wrote: > > Hi, > I have been trying to run the abing code > (http://www-iepm.slac.stanford.edu/tools/abing/). It basically set up a > UDP client and server and then there are excahnge of UDP packets. I have > been running into troubles since when I have been trying t

problem running a UDP client and server

2006-06-26 Thread Varun Sharma
Hi, I have been trying to run the abing code (http://www-iepm.slac.stanford.edu/tools/abing/). It basically set up a UDP client and server and then there are excahnge of UDP packets. I have been running into troubles since when I have been trying to install it. Firstly the make file had the -lns