|
libHSPlasma
|
#include <pnRC4.h>
Public Member Functions | |
| pnRC4Socket () | |
| pnRC4Socket (int handle) | |
| void | init (size_t keySize, const unsigned char *keyData) |
| virtual long | send (const void *buf, size_t size) |
| virtual long | recv (void *buf, size_t size) |
| virtual long | peek (void *buf, size_t size) |
Public Member Functions inherited from pnSocket | |
| pnSocket () | |
| pnSocket (int handle) | |
| virtual | ~pnSocket () |
| plString | getRemoteIpStr () const |
| int | getHandle () const |
| bool | connect (const char *address, unsigned short port) |
| bool | bind (unsigned short port) |
| pnSocket * | listen (int backlog) |
| void | close (bool force=false) |
| void | unlink () |
| void | link (int handle) |
| long | rsize () |
| plString | recvString (size_t maxlen) |
| bool | sendMsg (const msgparm_t *data, const pnNetMsg *msg) |
| msgparm_t * | recvMsg (const pnNetMsg *msg) |
| bool | isConnected () const |
| bool | waitForData (unsigned int utimeout=500000) |
Protected Attributes | |
| RC4_KEY | fSend |
| RC4_KEY | fRecv |
| hsMutex | fSendLock |
| hsMutex | fRecvLock |
| bool | fEncrypted |
Protected Attributes inherited from pnSocket | |
| int | fSockHandle |
| bool | fConnected |
Additional Inherited Members | |
Static Public Member Functions inherited from pnSocket | |
| static unsigned long | GetAddress (const char *addrName) |
| pnRC4Socket::pnRC4Socket | ( | ) |
| pnRC4Socket::pnRC4Socket | ( | int | handle | ) |
| void pnRC4Socket::init | ( | size_t | keySize, |
| const unsigned char * | keyData | ||
| ) |
|
virtual |
Reimplemented from pnSocket.
|
virtual |
Reimplemented from pnSocket.
|
virtual |
Reimplemented from pnSocket.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.1.2