v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
POSIXSocket () | |
POSIXSocket (int socket) | |
virtual | ~POSIXSocket () |
bool | Bind (const int port) |
bool | Listen (int backlog) const |
Socket * | Accept () const |
bool | Connect (const char *host, const char *port) |
bool | Shutdown () |
int | Send (const char *data, int len) const |
int | Receive (char *data, int len) const |
bool | SetReuseAddress (bool reuse_address) |
bool | IsValid () const |
Public Member Functions inherited from Socket | |
virtual | ~Socket () |
Additional Inherited Members | |
Static Public Member Functions inherited from Socket | |
static bool | SetUp () |
static int | LastError () |
static uint16_t | HToN (uint16_t value) |
static uint16_t | NToH (uint16_t value) |
static uint32_t | HToN (uint32_t value) |
static uint32_t | NToH (uint32_t value) |
Definition at line 356 of file platform-posix.cc.
|
inlineexplicit |
Definition at line 358 of file platform-posix.cc.
References ASSERT, POSIXSocket::IsValid(), and v8::internal::USE().
Referenced by POSIXSocket::Accept().
|
inlineexplicit |
Definition at line 370 of file platform-posix.cc.
|
inlinevirtual |
Definition at line 371 of file platform-posix.cc.
References POSIXSocket::Shutdown().
|
virtual |
Implements Socket.
Definition at line 424 of file platform-posix.cc.
References POSIXSocket::IsValid(), v8::internal::NULL, and POSIXSocket::POSIXSocket().
|
virtual |
Implements Socket.
Definition at line 397 of file platform-posix.cc.
References POSIXSocket::IsValid().
|
virtual |
Implements Socket.
Definition at line 442 of file platform-posix.cc.
References POSIXSocket::IsValid(), and v8::internal::NULL.
|
inlinevirtual |
Implements Socket.
Definition at line 390 of file platform-posix.cc.
Referenced by POSIXSocket::Accept(), POSIXSocket::Bind(), POSIXSocket::Connect(), POSIXSocket::Listen(), POSIXSocket::POSIXSocket(), and POSIXSocket::Shutdown().
|
virtual |
Implements Socket.
Definition at line 414 of file platform-posix.cc.
References POSIXSocket::IsValid().
|
virtual |
Implements Socket.
Definition at line 497 of file platform-posix.cc.
|
virtual |
Implements Socket.
Definition at line 480 of file platform-posix.cc.
|
virtual |
Implements Socket.
Definition at line 507 of file platform-posix.cc.
|
virtual |
Implements Socket.
Definition at line 468 of file platform-posix.cc.
References POSIXSocket::IsValid().
Referenced by POSIXSocket::~POSIXSocket().