You are on page 1of 1

NETWORK PROGRAMMING

ASSIGNMENT (last date of submission: 19/04/2016)


Q1. Represent data 0 x 1020 in big endian and little endian format.
Which byte ordering is used in network byte order and host byte order?
Q2.define and describe the following socket call
a) Close socket call
b) Select() socket call
c) Listen socket call
d) Connect() socket call
Q3. Define and describe the following system call
a) Wait and waitpid system call
b) Traceroute system call
c) Inet_addr system call

Q4.What is the size of a packet sent in ping command? Write ping command to send a packet which
forces fragmentation
Q5.Explain IP forwarding and IP spoofing. What are the network security issues In both the cases?
Q6.what is active open and passive open connection in case of TCP?
Q7.Describe connected UDP socket. List the advantages and disadvantages of using of connect in UDP.
Q8.Describe the socket send buffer and socket receive buffer.
Q9.Explain the denial of service attack. What are the possible solutions to prevent this problem?
Q10. What are the most common uses of netstat command? Explain the output of
i)
ii)

netstat s
netstat-r

You might also like