Re: [gini] UDP programming

2009-10-27 Thread Daniel Ng, Mr
, as this step is performed in IPOutgoingPacket. -Original Message- From: gini-boun...@cs.mcgill.ca [mailto:gini-boun...@cs.mcgill.ca] On Behalf Of Daniel Ng, Mr Sent: October 27, 2009 11:40 AM To: Xi Chen Cc: gini@cs.mcgill.ca Subject: Re: [gini] UDP programming I imagine most groups

Re: [gini] UDP programming

2009-10-27 Thread Daniel Ng, Mr
: [gini] UDP programming I imagine most groups will ask this question at some point, so here it is. Use findRouteEntry from routetable.c first to find your interface number, then use that number in findInterfaceIP from mtu.c to get the source address. As for the port I believe it is your choice

Re: [gini] UDP programming

2009-10-27 Thread Daniel Ng, Mr
I imagine most groups will ask this question at some point, so here it is. Use findRouteEntry from routetable.c first to find your interface number, then use that number in findInterfaceIP from mtu.c to get the source address. As for the port I believe it is your choice. This is not necessari