Diff for libplaton/platon/net/connection.h between version 1.3 and 1.4
| version 1.3, 2002/01/21 19:34:58 |
version 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); |
| Line 46 int telnet_read(int handle,char*buffer,i |
|
| Line 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.org> http://platon.org/
|
|