[syslinux] Sending UDP packets from comboot

H. Peter Anvin hpa at zytor.com
Sun May 24 11:29:46 PDT 2009


H. Peter Anvin wrote:
> 
>> args.gw = inet_addr("0.0.0.0");
>> args.src_port = 4711;
> 
> For what it's worth, Syslinux itself uses port numbers between 49152 and
> 57343.
> 
>> args.dst_port = 4799;

Oh yes, you need to use htons() on these, I'm pretty sure.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list