Re: networking question

2013-03-15 Thread devendra.aaru
This is my client: #include stdio.h #include sys/socket.h #include netinet/in.h main() { int s; int opt = 1; struct sockaddr_in serv; char *ip = 192.168.20.166; struct sockaddr_in m; s = socket(AF_INET, SOCK_DGRAM, 0); serv.sin_family =

networking question

2013-03-14 Thread devendra.aaru
Hey all, I have got a strange bug(?) while testing the multicasting server and client. I have done only the INADDR_ANY bind in server and client adds its IP_MULTICAST_IF to 224.0.0.1 , surprisingly i recvd pkts from the client with out joining using IP_ADD_MEMBERSHIP. Is that a bug? or as we

Re: networking question

2013-03-14 Thread Rami Rosen
Hi, Can you post your client and server code? rgs, Rami Rosen http://ramirose.wix.com/ramirosen On Thu, Mar 14, 2013 at 12:55 PM, devendra.aaru devendra.a...@gmail.com wrote: Hey all, I have got a strange bug(?) while testing the multicasting server and client. I have done only the