20 #ifndef INCLUDED_OSL_SOCKET_DECL_HXX
21 #define INCLUDED_OSL_SOCKET_DECL_HXX
65 inline SocketAddr( const ::rtl::OUString& strAddrOrHostName, sal_Int32 nPort );
75 inline bool is()
const;
89 inline bool SAL_CALL
setHostname( const ::rtl::OUString &sDottedIpOrHostname );
94 inline sal_Int32 SAL_CALL
getPort()
const;
99 inline bool SAL_CALL
setPort( sal_Int32 nPort );
104 inline bool SAL_CALL
setAddr( const ::rtl::ByteSequence & address );
148 const ::rtl::OUString & strHostName ,
SocketAddr & Addr );
157 const ::rtl::OUString& strServiceName,
158 const ::rtl::OUString & strProtocolName= ::
rtl::OUString(
"tcp") );
227 inline void SAL_CALL
close();
258 inline ::rtl::OUString SAL_CALL
getPeerHost()
const;
403 sal_uInt32 BufferLen,
449 sal_uInt32 BufferLen,
529 inline sal_Int32 SAL_CALL
read(
void* pBuffer, sal_uInt32 n);
538 inline sal_Int32 SAL_CALL
write(
const void* pBuffer, sal_uInt32 n);
557 inline sal_Int32 SAL_CALL
recv(
void* pBuffer,
558 sal_uInt32 BytesToRead,
577 sal_Int32 SAL_CALL
send(
const void* pBuffer,
578 sal_uInt32 BytesToSend,
626 inline bool SAL_CALL
listen(sal_Int32 MaxPendingConnections= -1);
685 inline sal_Int32 SAL_CALL
recvFrom(
void* pBuffer,
686 sal_uInt32 BufferSize,
714 sal_uInt32 BufferSize,