- For writing sin_port, htons() must be used.
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Feb 2013 21:33:02 +0000 (21:33 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Feb 2013 21:33:02 +0000 (21:33 +0000)
commitb8a86b22291344499256f735c47c341d2a105986
treecacf840d69be211d5ea215db8424252259723344
parent7d5c23a737d1f2b9aca34731e813aa77eaae4ab5
- For writing sin_port, htons() must be used.
- For reading sin_port, ntohs() must be used.
- EFI_TCP4_ACCESS_POINT.RemotePort is in host byte order (see
  StdLib/EfiSocketLib/Tcp4.c for example).

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14126 6f19259b-4bc3-4df7-8a09-765794883524
AppPkg/Applications/Sockets/DataSource/DataSource.c