int bc=0;
int inten=0;
-#define AF_INET 1
-#define SOCK_STREAM 3
-
struct sockaddr_in addr;
struct sockaddr_in laddr;
}
/* Send a char to the console, processing for ANSI/TELNET chars */
-void charout( char c ){
+void charout( uint8_t c ){
static char mode=0;
int i;
}
/* print string to console under ANSI/TELNET */
-int mywrite( char *ptr, int len ){
+int mywrite( uint8_t *ptr, int len ){
int i=len;
while( i-- ) charout( *ptr++ );
return len;
}
}
-my_open( int argc, char *argv[]){
+int my_open( int argc, char *argv[]){
int port = 23; /* default port */
struct hostent *h;