Hi;
I am new user to XORP.
I would like to ask about socket kernel.
I try to access to socket kernel through XORP XRL SOCK4.XRL.
When I issue a call XrlSocket4V0p1Client::send_udp_open, Xorp returns a socket
ID but it is in the string format.
My question is how I can get the actual socket ID from the kernel??
I dig in XORP code, I found a code:
IoTcpUdpSocket::udp_open (string &error)
{
.............
_sock_fd = comm_open_udp (family(), COMM_SOCK_NONBLOCKING)
..............
}
where XorpFd _sock_fd.
in libcomm. The routinr comm_open_udp returns an interger. It is a socket Id
(or Fd)
Thanks you.
Nam_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers