29 #ifndef _OSL_SOCKET_DECL_HXX_
30 #define _OSL_SOCKET_DECL_HXX_
74 inline SocketAddr( const ::rtl::OUString& strAddrOrHostName, sal_Int32 nPort );
103 inline sal_Int32 SAL_CALL
getPort()
const;
113 inline sal_Bool SAL_CALL
setAddr( const ::rtl::ByteSequence & address );
156 const ::rtl::OUString & strHostName ,
SocketAddr & Addr );
165 const ::rtl::OUString& strServiceName,
234 inline void SAL_CALL
close();
265 inline ::rtl::OUString SAL_CALL
getPeerHost()
const;
410 sal_uInt32 BufferLen,
456 sal_uInt32 BufferLen,
534 inline sal_Int32 SAL_CALL
read(
void* pBuffer, sal_uInt32 n);
543 inline sal_Int32 SAL_CALL
write(
const void* pBuffer, sal_uInt32 n);
562 inline sal_Int32 SAL_CALL
recv(
void* pBuffer,
563 sal_uInt32 BytesToRead,
582 sal_Int32 SAL_CALL
send(
const void* pBuffer,
583 sal_uInt32 BytesToSend,
629 inline sal_Bool SAL_CALL
listen(sal_Int32 MaxPendingConnections= -1);
686 inline sal_Int32 SAL_CALL
recvFrom(
void* pBuffer,
687 sal_uInt32 BufferSize,
715 sal_uInt32 BufferSize,