Esempio n. 1
0
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");
}
Esempio n. 2
0
//
/// 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);
}