Computer Networks MCQs

1018 MCQs  (Page 61 of 102)

Which OSPF show command describes a list of OSPF adjacencies?
A. Show ip ospf interface
B. Show ip ospf
C. Show ip route
D. Show ip ospf neighbor
Which methods are commonly used in Server Socket class?
A. Public output stream get output stream ()
B. Public socket accept ()
C. Public synchronized void close ()
D. Public void connect ()
Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the given Port Number?
A. Datagram socket(int port)
B. Datagram socket(int port, int address address)
C. Datagram socket()
D. Datagram socket(int address)
The client in socket programming must know which information?
A. Ip address of server
B. Port number
C. Both ip address of server & port number
D. Only its own ip address
Which classes are used for connection-less socket programming?
A. Datagram socket
B. Datagram packet
C. Both datagram socket & datagram packet
D. Server socket