Photon 1.0.0
|
Go to the source code of this file.
Classes | |
class | Photon::Network::Socket |
Namespaces | |
namespace | Photon |
This file is also about defining core js concepts. | |
namespace | Photon::Network |
Macros | |
#define | SOCKET_ERROR -1 |
#define | WSAECONNRESET ECONNRESET |
#define | WSAEWOULDBLOCK EWOULDBLOCK |
#define | WSAGetLastError() errno |
#define | PHOTON_SOCKET socket |
#define | PHOTON_CLOSE close |
#define | PHOTON_SHUTDOWN shutdown |
#define | PHOTON_ACCEPT accept |
#define | PHOTON_CONNECT connect |
#define | PHOTON_IOCTL ioctl |
#define | FIONBIO FNONBLOCK |
#define | FIOASYNC FASYNC |
Typedefs | |
using | Photon::Network::CSocket = uintptr_t |
Enumerations | |
enum class | Photon::SOCKET_FLAG : std::int64_t { Photon::NON_BLOCKING = FIONBIO , Photon::ASYNC = FIOASYNC } |
enum class | Photon::Network::SOCKET_TYPE { Photon::Network::TCP , Photon::Network::UDP , Photon::Network::COUNT } |
#define FIOASYNC FASYNC |
#define FIONBIO FNONBLOCK |
#define PHOTON_ACCEPT accept |
#define PHOTON_CLOSE close |
#define PHOTON_CONNECT connect |
#define PHOTON_IOCTL ioctl |
#define PHOTON_SHUTDOWN shutdown |
#define PHOTON_SOCKET socket |
#define SOCKET_ERROR -1 |
#define WSAECONNRESET ECONNRESET |
#define WSAEWOULDBLOCK EWOULDBLOCK |
#define WSAGetLastError | ( | ) | errno |