Hi, I need help with this:
If i send a packet using using send(), how can I tell which port did i send on? the socketfd in the bind only specify the receiver's port. how then can I receive a reply if i dont know my own port?
Hi, I need help with this:
If i send a packet using using send(), how can I tell which port did i send on? the socketfd in the bind only specify the receiver's port. how then can I receive a reply if i dont know my own port?