]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/socket.h
Removing more CodeWarrior project files.
[wxWidgets.git] / interface / wx / socket.h
index 0791ff4bb8c2363f63186a476d42908853f5577e..fa6cb923f90eb4a5b30b82121560fb2ced3775f4 100644 (file)
@@ -427,6 +427,26 @@ public:
         Returns the length of the socket address.
     */
     int SockAddrLen();
+
+    /**
+        Returns the pointer to the low-level representation of the address.
+
+        This can be used to pass socket address information to a 3rd party
+        library.
+
+        @return
+            Pointer to a sockaddr-derived struct.
+    */
+    const sockaddr *GetAddressData() const;
+
+    /**
+        Returns the length of the buffer retrieved by GetAddressData().
+
+        @return
+            The size of the sockaddr-derived struct corresponding to this
+            address.
+    */
+    int GetAddressDataLen() const;
 };