VCF::Win32UDPSocketPeer Class Reference
#include <Win32SocketPeer.h>
Inheritance diagram for VCF::Win32UDPSocketPeer:

Public Member Functions | |
| Win32UDPSocketPeer () | |
| Win32UDPSocketPeer (SOCKET handle) | |
| virtual int | create () |
| virtual int | connect (const String &host, const unsigned short port) |
| virtual int | listen (unsigned short port) |
| virtual SocketPeer * | accept () |
| Accepts a new connection and returns a new socket peer instance. | |
| virtual int | recv (unsigned char *bytes, size_t bytesLength) |
| virtual int | send (const unsigned char *bytes, size_t bytesLength) |
| virtual int | recvFrom (unsigned char *bytes, size_t bytesLength, IPEndPoint &fromAddr) |
| virtual int | sendTo (const unsigned char *bytes, size_t bytesLength, const IPEndPoint &toAddr) |
| virtual IPAddress | getRemoteHostIPAddress () |
| Returns the IP address of the remote host as a string formatted (for IPV4 at least) as 4 "octets", each separated by the "." character. | |
| virtual unsigned short | getRemotePort () |
| Returns the remote port number for this socket instance. | |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Accepts a new connection and returns a new socket peer instance. Assumes the listen() call has already occurred. If it has not then an exception is thrown. Reimplemented from VCF::Win32SocketPeer. |
|
||||||||||||
|
Reimplemented from VCF::Win32SocketPeer. |
|
|
Reimplemented from VCF::Win32SocketPeer. |
|
|
Returns the IP address of the remote host as a string formatted (for IPV4 at least) as 4 "octets", each separated by the "." character. Each octet is a number string in the range from 0 to 255. Reimplemented from VCF::Win32SocketPeer. |
|
|
Returns the remote port number for this socket instance.
Reimplemented from VCF::Win32SocketPeer. |
|
|
Reimplemented from VCF::Win32SocketPeer. |
|
||||||||||||
|
Reimplemented from VCF::Win32SocketPeer. |
|
||||||||||||||||
|
Reimplemented from VCF::Win32SocketPeer. |
|
||||||||||||
|
Reimplemented from VCF::Win32SocketPeer. |
|
||||||||||||||||
|
Reimplemented from VCF::Win32SocketPeer. |
The documentation for this class was generated from the following file:
- vcf/NetworkKit/Win32SocketPeer.h
