[Csci551-talk] Got my problem fixed!!!

Aaron Tu atu011 at earthlink.net
Thu Apr 22 21:21:36 PDT 2004


For those who are planning to use the sample project, I believe lines
134-5 in router.cc should be swapped. 

memset(&udp_sa, 0, sizeof(udp_sa));
udp_sa.sin_family = AF_INET;           

I'm surprised that g++ 2.95.2 did not catch this in Aludra, but g++
3.3.1 did in Cygwin. Well, the program core dumped. Hmmmm. Could AF_INET
be zero on Aludra and not in Cygwin???

Aaron



More information about the Csci551-talk mailing list