c - How to set priority to sockets -
i have 2 udp sockets
*:161 1.1.2.2:161when there packet destined 1.1.2.2:161, want create packet received *.161 , not 1.1.2.2:161. there alternative can set socket 1.1.2.2:161 while creating makes not receive packets?
the question not create sense. 1 socket can bound given (address, port) pair @ given time, situation presented cannot arise. there never question socket should receive incoming packet.
c
No comments:
Post a Comment