#include <string.h>
#define my_index strchr
#else
#ifdef __sgi
#endif
/* Avoid depending on library functions or files
whose names are inconsistent. */
* Send character c with ZMODEM escape sequence encoding.
* Escape XON, XOFF. Escape CR following @ (Telenet net escape)
*/
inline void
void
zsendline(int c)
{
}
static inline void
static void
zsendline_s(const char *s, size_t count)
const char *end=s+count;
struct sockaddr_in s;
struct sockaddr_in t;
int on=1;
size_t len;
socklen_t len;
if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
error(1,errno,"socket");
int so;
size_t namelen;
socklen_t namelen;
int num=0;
namelen = sizeof(s);