Remote socket of UDP client?

BlitzMax Forums/BlitzMax Programming/Remote socket of UDP client?

slenkar(Posted 2008) [#1]
It seems the SocketremoteIP command only works with TCp connections, is there a way of getting the IP of someone who is sending me a UDP message?


AlexO(Posted 2008) [#2]
Yes, use 'recvfrom_'

signature is similar to this:

recvfrom_(socket:int, buffer:byte ptr, count:int, flags:int, sender_ip var, sender_port var)