LeviLamina
Loading...
Searching...
No Matches
rtc::PhysicalSocket Class Reference
+ Inheritance diagram for rtc::PhysicalSocket:

Public Types

enum class  ConnState : int { Closed = 0 , Connecting = 1 , Connected = 2 }
 
enum class  Option : int {
  Dontfragment = 0 , Rcvbuf = 1 , Sndbuf = 2 , Nodelay = 3 ,
  Ipv6V6only = 4 , Dscp = 5 , RtpSendtimeExtnId = 6 , SendEcn = 7 ,
  RecvEcn = 8 , Keepalive = 9 , TcpKeepcnt = 10 , TcpKeepidle = 11 ,
  TcpKeepintvl = 12 , TcpUserTimeout = 13 , Broadcast = 14 , Ipv6JoinGroup = 15 ,
  Ipv6MulticastLoop = 16 , Ipv6MulticastIf = 17
}
 

Public Member Functions

PhysicalSocketoperator= (PhysicalSocket const &)
 
 PhysicalSocket (PhysicalSocket const &)
 
virtual bool Create (int family, int type)
 
virtual::rtc::SocketAddress GetLocalAddress () const
 
virtual::rtc::SocketAddress GetRemoteAddress () const
 
virtual int Bind (::rtc::SocketAddress const &bind_addr)
 
virtual int Connect (::rtc::SocketAddress const &addr)
 
virtual int GetError () const
 
virtual void SetError (int error)
 
virtual::rtc::Socket::ConnState GetState () const
 
virtual int GetOption (::rtc::Socket::Option opt, int *value)
 
virtual int SetOption (::rtc::Socket::Option opt, int value)
 
virtual int Send (void const *pv, uint64 cb)
 
virtual int SendTo (void const *buffer, uint64 length, ::rtc::SocketAddress const &addr)
 
virtual int Recv (void *buffer, uint64 length, int64 *timestamp)
 
virtual int RecvFrom (void *buffer, uint64 length, ::rtc::SocketAddress *out_addr, int64 *timestamp)
 
virtual int RecvFrom (::rtc::Socket::ReceiveBuffer &buffer)
 
virtual int Listen (int backlog)
 
virtual::rtc::Socket * Accept (::rtc::SocketAddress *out_addr)
 
virtual int Close ()
 
virtual uint64 DoAccept (uint64 socket, ::sockaddr *addr, int *addrlen)
 
virtual int DoSend (uint64 socket, char const *buf, int len, int flags)
 
virtual int DoSendTo (uint64 socket, char const *buf, int len, int flags, ::sockaddr const *dest_addr, int addrlen)
 
virtual void SetEnabledEvents (uchar events)
 
virtual void EnableEvents (uchar events)
 
virtual void DisableEvents (uchar events)
 
MCAPI int DoConnect (::rtc::SocketAddress const &connect_addr)
 
MCAPI int DoReadFromSocket (void *buffer, uint64 length, ::rtc::SocketAddress *out_addr, int64 *timestamp, ::rtc::EcnMarking *ecn)
 
MCAPI void OnResolveResult (::webrtc::AsyncDnsResolverResult const &result)
 
MCAPI PhysicalSocket (::rtc::PhysicalSocketServer *ss, uint64 s)
 
MCAPI int SetOption (::rtc::Socket::Option opt, void const *value, uint64 size)
 
MCAPI int TranslateOption (::rtc::Socket::Option opt, int *slevel, int *sopt)
 
MCAPI void UpdateLastError ()
 
MCAPI void * $ctor (::rtc::PhysicalSocketServer *ss, uint64 s)
 
MCAPI void $dtor ()
 
MCAPI bool $Create (int family, int type)
 
MCAPI::rtc::SocketAddress $GetLocalAddress () const
 
MCAPI::rtc::SocketAddress $GetRemoteAddress () const
 
MCAPI int $Bind (::rtc::SocketAddress const &bind_addr)
 
MCAPI int $Connect (::rtc::SocketAddress const &addr)
 
MCAPI int $GetError () const
 
MCAPI void $SetError (int error)
 
MCAPI::rtc::Socket::ConnState $GetState () const
 
MCAPI int $GetOption (::rtc::Socket::Option opt, int *value)
 
MCAPI int $SetOption (::rtc::Socket::Option opt, int value)
 
MCAPI int $Send (void const *pv, uint64 cb)
 
MCAPI int $SendTo (void const *buffer, uint64 length, ::rtc::SocketAddress const &addr)
 
MCAPI int $Recv (void *buffer, uint64 length, int64 *timestamp)
 
MCAPI int $RecvFrom (void *buffer, uint64 length, ::rtc::SocketAddress *out_addr, int64 *timestamp)
 
MCAPI int $RecvFrom (::rtc::Socket::ReceiveBuffer &buffer)
 
MCAPI int $Listen (int backlog)
 
MCAPI::rtc::Socket * $Accept (::rtc::SocketAddress *out_addr)
 
MCAPI int $Close ()
 
MCAPI uint64 $DoAccept (uint64 socket, ::sockaddr *addr, int *addrlen)
 
MCAPI int $DoSend (uint64 socket, char const *buf, int len, int flags)
 
MCAPI int $DoSendTo (uint64 socket, char const *buf, int len, int flags, ::sockaddr const *dest_addr, int addrlen)
 
MCAPI void $SetEnabledEvents (uchar events)
 
MCAPI void $EnableEvents (uchar events)
 
MCAPI void $DisableEvents (uchar events)
 

Static Public Member Functions

static MCAPI void ** $vftableForSocket ()
 
static MCAPI void ** $vftableForHasSlots ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnke204df
 
::ll::UntypedStorage< 8, 8 > mUnk2e4eb5
 
::ll::UntypedStorage< 1, 1 > mUnka6b4c1
 
::ll::UntypedStorage< 4, 4 > mUnk83dbee
 
::ll::UntypedStorage< 8, 40 > mUnkf4def3
 
::ll::UntypedStorage< 4, 4 > mUnkf530c5
 
::ll::UntypedStorage< 4, 4 > mUnkb6f68b
 
::ll::UntypedStorage< 8, 8 > mUnk52d5f8
 
::ll::UntypedStorage< 1, 1 > mUnk70aa9a
 
::ll::UntypedStorage< 1, 1 > mUnk80a24e
 
::ll::UntypedStorage< 1, 1 > mUnk5a5112
 
::ll::UntypedStorage< 1, 1 > mUnk8efe6c
 
::ll::UntypedStorage< 8, 88 > mUnk2097da
 
::ll::UntypedStorage< 8, 88 > mUnk60f0a5
 
::ll::UntypedStorage< 8, 48 > mUnkd40cf8
 
::ll::UntypedStorage< 8, 48 > mUnk24406c
 

Constructor & Destructor Documentation

◆ PhysicalSocket()

MCAPI rtc::PhysicalSocket::PhysicalSocket ( ::rtc::PhysicalSocketServer * ss,
uint64 s )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ GetLocalAddress()

virtual::rtc::SocketAddress rtc::PhysicalSocket::GetLocalAddress ( ) const
virtual

Implements rtc::Socket.

◆ GetRemoteAddress()

virtual::rtc::SocketAddress rtc::PhysicalSocket::GetRemoteAddress ( ) const
virtual

Implements rtc::Socket.

◆ Bind()

virtual int rtc::PhysicalSocket::Bind ( ::rtc::SocketAddress const & bind_addr)
virtual

Implements rtc::Socket.

◆ Connect()

virtual int rtc::PhysicalSocket::Connect ( ::rtc::SocketAddress const & addr)
virtual

Implements rtc::Socket.

◆ GetError()

virtual int rtc::PhysicalSocket::GetError ( ) const
virtual

Implements rtc::Socket.

◆ SetError()

virtual void rtc::PhysicalSocket::SetError ( int error)
virtual

Implements rtc::Socket.

◆ GetState()

virtual::rtc::Socket::ConnState rtc::PhysicalSocket::GetState ( ) const
virtual

Implements rtc::Socket.

◆ GetOption()

virtual int rtc::PhysicalSocket::GetOption ( ::rtc::Socket::Option opt,
int * value )
virtual

Implements rtc::Socket.

◆ SetOption() [1/2]

virtual int rtc::PhysicalSocket::SetOption ( ::rtc::Socket::Option opt,
int value )
virtual

Implements rtc::Socket.

◆ Send()

virtual int rtc::PhysicalSocket::Send ( void const * pv,
uint64 cb )
virtual

Implements rtc::Socket.

◆ SendTo()

virtual int rtc::PhysicalSocket::SendTo ( void const * buffer,
uint64 length,
::rtc::SocketAddress const & addr )
virtual

Implements rtc::Socket.

◆ Recv()

virtual int rtc::PhysicalSocket::Recv ( void * buffer,
uint64 length,
int64 * timestamp )
virtual

Implements rtc::Socket.

◆ RecvFrom() [1/2]

virtual int rtc::PhysicalSocket::RecvFrom ( void * buffer,
uint64 length,
::rtc::SocketAddress * out_addr,
int64 * timestamp )
virtual

Reimplemented from rtc::Socket.

◆ RecvFrom() [2/2]

virtual int rtc::PhysicalSocket::RecvFrom ( ::rtc::Socket::ReceiveBuffer & buffer)
virtual

Reimplemented from rtc::Socket.

◆ Listen()

virtual int rtc::PhysicalSocket::Listen ( int backlog)
virtual

Implements rtc::Socket.

◆ Accept()

virtual::rtc::Socket * rtc::PhysicalSocket::Accept ( ::rtc::SocketAddress * out_addr)
virtual

Implements rtc::Socket.

◆ Close()

virtual int rtc::PhysicalSocket::Close ( )
virtual

Implements rtc::Socket.

◆ DoConnect()

MCAPI int rtc::PhysicalSocket::DoConnect ( ::rtc::SocketAddress const & connect_addr)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DoReadFromSocket()

MCAPI int rtc::PhysicalSocket::DoReadFromSocket ( void * buffer,
uint64 length,
::rtc::SocketAddress * out_addr,
int64 * timestamp,
::rtc::EcnMarking * ecn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ OnResolveResult()

MCAPI void rtc::PhysicalSocket::OnResolveResult ( ::webrtc::AsyncDnsResolverResult const & result)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SetOption() [2/2]

MCAPI int rtc::PhysicalSocket::SetOption ( ::rtc::Socket::Option opt,
void const * value,
uint64 size )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ TranslateOption()

MCAPI int rtc::PhysicalSocket::TranslateOption ( ::rtc::Socket::Option opt,
int * slevel,
int * sopt )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ UpdateLastError()

MCAPI void rtc::PhysicalSocket::UpdateLastError ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * rtc::PhysicalSocket::$ctor ( ::rtc::PhysicalSocketServer * ss,
uint64 s )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void rtc::PhysicalSocket::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Create()

MCAPI bool rtc::PhysicalSocket::$Create ( int family,
int type )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetLocalAddress()

MCAPI::rtc::SocketAddress rtc::PhysicalSocket::$GetLocalAddress ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetRemoteAddress()

MCAPI::rtc::SocketAddress rtc::PhysicalSocket::$GetRemoteAddress ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Bind()

MCAPI int rtc::PhysicalSocket::$Bind ( ::rtc::SocketAddress const & bind_addr)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Connect()

MCAPI int rtc::PhysicalSocket::$Connect ( ::rtc::SocketAddress const & addr)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetError()

MCAPI int rtc::PhysicalSocket::$GetError ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SetError()

MCAPI void rtc::PhysicalSocket::$SetError ( int error)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetState()

MCAPI::rtc::Socket::ConnState rtc::PhysicalSocket::$GetState ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetOption()

MCAPI int rtc::PhysicalSocket::$GetOption ( ::rtc::Socket::Option opt,
int * value )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SetOption()

MCAPI int rtc::PhysicalSocket::$SetOption ( ::rtc::Socket::Option opt,
int value )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Send()

MCAPI int rtc::PhysicalSocket::$Send ( void const * pv,
uint64 cb )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SendTo()

MCAPI int rtc::PhysicalSocket::$SendTo ( void const * buffer,
uint64 length,
::rtc::SocketAddress const & addr )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Recv()

MCAPI int rtc::PhysicalSocket::$Recv ( void * buffer,
uint64 length,
int64 * timestamp )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $RecvFrom() [1/2]

MCAPI int rtc::PhysicalSocket::$RecvFrom ( void * buffer,
uint64 length,
::rtc::SocketAddress * out_addr,
int64 * timestamp )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $RecvFrom() [2/2]

MCAPI int rtc::PhysicalSocket::$RecvFrom ( ::rtc::Socket::ReceiveBuffer & buffer)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Listen()

MCAPI int rtc::PhysicalSocket::$Listen ( int backlog)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Accept()

MCAPI::rtc::Socket * rtc::PhysicalSocket::$Accept ( ::rtc::SocketAddress * out_addr)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Close()

MCAPI int rtc::PhysicalSocket::$Close ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $DoAccept()

MCAPI uint64 rtc::PhysicalSocket::$DoAccept ( uint64 socket,
::sockaddr * addr,
int * addrlen )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $DoSend()

MCAPI int rtc::PhysicalSocket::$DoSend ( uint64 socket,
char const * buf,
int len,
int flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $DoSendTo()

MCAPI int rtc::PhysicalSocket::$DoSendTo ( uint64 socket,
char const * buf,
int len,
int flags,
::sockaddr const * dest_addr,
int addrlen )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $SetEnabledEvents()

MCAPI void rtc::PhysicalSocket::$SetEnabledEvents ( uchar events)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $EnableEvents()

MCAPI void rtc::PhysicalSocket::$EnableEvents ( uchar events)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $DisableEvents()

MCAPI void rtc::PhysicalSocket::$DisableEvents ( uchar events)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForSocket()

static MCAPI void ** rtc::PhysicalSocket::$vftableForSocket ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForHasSlots()

static MCAPI void ** rtc::PhysicalSocket::$vftableForHasSlots ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** rtc::Socket::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: