Rozdiely pre libplaton/platon/net/connection.h medzi verziami 1.3 a 1.4
| verzia 1.3, 2002/01/21 19:34:58 |
verzia 1.4, 2002/02/04 18:38:10 |
|
|
| |
|
| /* Vracia FILE*, alebo NULL pri chybe. */ |
/* Vracia FILE*, alebo NULL pri chybe. */ |
| /* Pozor na to, ze vystupny stream bude bufferovany! */ |
/* Pozor na to, ze vystupny stream bude bufferovany! */ |
| #define telnet_fconnect(host,port) fdopen(telnet_connect(host,port),TELNET_FMODE) |
#define telnet_fconnect(host,port) fdopen(telnet_connect(host,port), TELNET_FMODE) |
| |
|
| |
#ifdef __cplusplus |
| |
extern "C" { |
| |
#endif |
| |
|
| /* Vracia handle, alebo -1 pri chybe. */ |
/* Vracia handle, alebo -1 pri chybe. */ |
| int telnet_connect(const char*host,int port); |
int telnet_connect(const char*host,int port); |
| Riadok 46 int telnet_read(int handle,char*buffer,i |
|
| Riadok 49 int telnet_read(int handle,char*buffer,i |
|
| /* Vracia pocet precitanych bytov, prip. <0 pri strate spojenia. */ |
/* Vracia pocet precitanych bytov, prip. <0 pri strate spojenia. */ |
| int telnet_gets(int handle,char*buffer,int size); |
int telnet_gets(int handle,char*buffer,int size); |
| |
|
| |
#ifdef __cplusplus |
| |
} |
| |
#endif |
| |
|
| #endif /* #ifndef _PLATON_TELNET_TN_NOOBJ_H */ |
#endif /* #ifndef _PLATON_TELNET_TN_NOOBJ_H */ |
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|