Mercurial > cabal
comparison sources/headers/network.hpp @ 4:a7051ac7118b
added primary parser implementation
renamed some functions to well-formed format
bool => false, pointers => NULL
removed useless eTime()
| author | Vlad Glagolev <enqlave@gmail.com> |
|---|---|
| date | Thu, 24 Jan 2008 19:38:34 +0300 |
| parents | 19227b0b7cc1 |
| children | 0faceb076254 |
comparison
equal
deleted
inserted
replaced
| 3:cd60300cae0b | 4:a7051ac7118b |
|---|---|
| 41 #ifdef ENABLE_IPV6 | 41 #ifdef ENABLE_IPV6 |
| 42 struct sockaddr_in6 sa6; | 42 struct sockaddr_in6 sa6; |
| 43 #endif | 43 #endif |
| 44 } address; | 44 } address; |
| 45 | 45 |
| 46 bool socketClose(); | 46 bool closeSocket(); |
| 47 | 47 |
| 48 bool hostResolve(pchar, address_type *, int inet = 0); | 48 bool openHost(); |
| 49 bool tcpActivate(int, pchar host = 0); | 49 bool resolveHost(pchar, address_type *, int inet = 0); |
| 50 bool hostOpen(); | 50 bool activateTCP(int, pchar host = 0); |
| 51 | 51 |
| 52 int canRead(int); | 52 int canRead(int); |
| 53 int canWrite(int); | 53 int canWrite(int); |
| 54 | 54 |
| 55 fd_set rs, ws; | 55 fd_set rs, ws; |
