Fix compilation errors for x86-64 SDK

Various socket parameters were size_t instead of socklen_t,
which are equivalent on 32-bit machines but not 64-bit.

Change-Id: Ibf08ff9a7128cfcb4b5e114d43cd6a24ba68cf97
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sock_channel.cpp b/sock_channel.cpp
index 34adf3a..a91bb4e 100644
--- a/sock_channel.cpp
+++ b/sock_channel.cpp
@@ -37,7 +37,7 @@
     auto bufferSize = outBuffer.size();
     auto outputPtr = outBuffer.data();
 
-    address.addrSize = sizeof(address.inAddr);
+    address.addrSize = static_cast<socklen_t>(sizeof(address.inAddr));
 
     do
     {
@@ -98,7 +98,7 @@
         {
             if (FD_ISSET(sockfd, &writeSet))
             {
-                address.addrSize = sizeof(address.inAddr);
+                address.addrSize = static_cast<socklen_t>(sizeof(address.inAddr));
                 do
                 {
                     writeDataLen = sendto(sockfd,           // File Descriptor