SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Create()

void Spices::Net::Socket::Create ( )

Create Non Blocking Socket.

Definition at line 27 of file Socket.cpp.

28 {
30
31 SOCKET sockfd = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
32
33 m_SocketFd = sockfd;
34 }
#define SPICES_PROFILE_ZONE
SOCKET m_SocketFd
This socket fd.
Definition Socket.h:142

Referenced by SpicesTest::BufferTest::StartClient(), SpicesTest::SocketTest::StartClient(), SpicesTest::BufferTest::StartServer(), SpicesTest::SocketTest::StartServer(), SpicesTest::TEST(), and SpicesTest::TEST().