- For writing sin_port, htons() must be used.
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Feb 2013 21:34:26 +0000 (21:34 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Feb 2013 21:34:26 +0000 (21:34 +0000)
commit9d0e28d4cfdda9c34522e64c1289cd4250466e0c
tree8aac48a989d67f650e09b01032f4757aaaf4f09b
parentb8a86b22291344499256f735c47c341d2a105986
- For writing sin_port, htons() must be used.
- For reading sin_port, ntohs() must be used.

Contributed-under: TianoCore Contribution Agreement 1.0

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