Well, my question may look like a basic stuff, but i am new to network programming side. I wish to know:
1) Is it always required to bind a socket in order to receive me
I don't know about Linux, but on Windows, if recvfrom() is called on an unbound socket, it will fail with an WSAEINVAL error.
recvfrom()
WSAEINVAL