void ipx_init(void) { int ccode; if (!config.ipxsup) return; ccode = GetMyAddress(); if( ccode ) { error("IPX: cannot get IPX node address for network %#lx\n", config.ipx_net); } pic_seti(PIC_IPX, ipx_receive, 0, ipx_recv_esr_call); pic_seti(PIC_IPX_AES, IPXCheckForAESReady, 0, ipx_aes_esr_call); recv_tid = coopth_create("IPX receiver callback"); aes_tid = coopth_create("IPX aes callback"); }
// /// This function stores the address into the reference argument 'socketAddress'. /// 'addressLength' will hold the length of the address. Uses the SOCKET in my /// member data as the socket to get the address of. // int TSocket::GetMyAddress(TSocketAddress& socketAddress, int& addressLength) { return GetMyAddress(socketAddress, addressLength, Handle); }