hi im trying to do serial communication between two computers using bioscom. I have two graphics programs in a win 32 environment not DOS.

Basically if i press a key say a 4 on the keyboard on one of the computers i need it to go thru the communications line and carry out a function in the program on the other computer. My problem is i dont know how to send a character to the other computer and get it to act as if a key was hit on that computer. and take input and carry out a function.

I know bioscom only deals with characters and as im sending integers i need to translate them using itoa......but how do i do it all?

ive established communication between the computers using

Code:
#include <bios.h>

#define DATA_READY 0x100

#define SETTINGS ( 0x80 | 0x02 | 0x00 | 0x00)


int main (void){

int COM1 = 0;
int status, OK=0;

        printf("\t\t\tSetting up communications");
        printf("\n\n\nEnter Communication port being used: ");

        scanf("%d", &COM1);
        COM1--;

        bioscom(0, SETTINGS, COM1);  
        status=bioscom(3, 0, COM1);

        if (status & DATA_READY){
        printf("communication OK - any key to continue");
        OK=1;

         getch();
         }

          return 0;
}
i've looked all over the net and thru books but i cant find anything that i understand plz can someone help me?