#include <ns_host.h>
Public Member Functions | |
| Host () | |
| Dummy constructor. | |
| Host (struct sockaddr_in s) | |
| Creates new host by specified SIN structure. | |
| Host (char *host, unsigned int port) | |
| Creates new host by specifing host name and port. | |
| void | getSin (struct sockaddr_in *s) |
| Gets host SIN structure. | |
| ns::Host::Host | ( | struct sockaddr_in | s | ) |
Creates new host by specified SIN structure.
| s | SIN structure for new created host. |
| ns::Host::Host | ( | char * | host, | |
| unsigned int | port | |||
| ) |
Creates new host by specifing host name and port.
| host | Hostname | |
| port | Port |
| void ns::Host::getSin | ( | struct sockaddr_in * | s | ) |
1.5.1