using the updated rcs file with the new mybind.c, implementing getsockname