20 #ifndef _OSL_SOCKET_DECL_HXX_
21 #define _OSL_SOCKET_DECL_HXX_
65 inline SocketAddr( const ::rtl::OUString& strAddrOrHostName, sal_Int32 nPort );
94 inline sal_Int32 SAL_CALL
getPort()
const;
104 inline sal_Bool SAL_CALL
setAddr( const ::rtl::ByteSequence & address );
147 const ::rtl::OUString & strHostName ,
SocketAddr & Addr );
156 const ::rtl::OUString& strServiceName,
225 inline void SAL_CALL
close();
256 inline ::rtl::OUString SAL_CALL
getPeerHost()
const;
401 sal_uInt32 BufferLen,
447 sal_uInt32 BufferLen,
525 inline sal_Int32 SAL_CALL
read(
void* pBuffer, sal_uInt32 n);
534 inline sal_Int32 SAL_CALL
write(
const void* pBuffer, sal_uInt32 n);
553 inline sal_Int32 SAL_CALL
recv(
void* pBuffer,
554 sal_uInt32 BytesToRead,
573 sal_Int32 SAL_CALL
send(
const void* pBuffer,
574 sal_uInt32 BytesToSend,
620 inline sal_Bool SAL_CALL
listen(sal_Int32 MaxPendingConnections= -1);
677 inline sal_Int32 SAL_CALL
recvFrom(
void* pBuffer,
678 sal_uInt32 BufferSize,
706 sal_uInt32 BufferSize,