Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Example


printf("Host name: %s\n",
       mtaChannelToHost(NULL, NULL, MTA_CHANNEL,
                        "tcp_local", 0, 0));