ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | List of all members
CSocket Class Reference

Public Member Functions

BOOL Socket ()
 
void Close ()
 
void AttachFrom (CSocket &s)
 
void Detach ()
 
string GetIP ()
 
USHORT GetPort ()
 
BOOL Bind (USHORT nPort=0, string ip="")
 
BOOL Listen (int nQLen=5)
 
BOOL Accept (CSocket &sock)
 
BOOL Connect (string ip, USHORT port, LONG lTOSMilisec=-1)
 
uint64_t Receive (void *pBuf, uint64_t nLen, int nFlags=0)
 
int Send (const void *pBuf, uint64_t nLen, int nFlags=0)
 

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