http://www.ousob.com --- Legacy Redefined #include <stdio.h> #include <extend50.h> #include <nwconn.h> CLIPPER b_nodeaddr() { int ccode; BYTE physicalAddress[6]; char buffr[32]; if( GetConnectionNumber() == 0 ){ buffr[0] = NULL; _retc(buffr); return; } GetStationAddress( physicalAddress ); sprintf(buffr,"%02X%02X%02X%02X%02X%02X\0", physicalAddress[0], physicalAddress[1], physicalAddress[2], physicalAddress[3], physicalAddress[4], physicalAddress[5] ); _retc(buffr); }