layer Posted August 24, 2006 Share Posted August 24, 2006 (edited) is there anyway to get the ip of a client when using udp ? i know in tcp you can with SocketToIp (from Larry) but udp is connectionless, and SocketToIp needs a connected socket.. sorry if this has been answered.. it's been a while wait so maybe its just not possible ? since the server never says hi to the client when using udp (not literally, but you know) ? edit: using the code from the help file (3.2.0.1) from UDPSend, well, i can never get any error in that code, even if i add letters to the IP in UDPOpen, it doesnt error, neither in the loop where If $status = 0 ... the error msgbox never pops up, is there a reason ? Edited August 24, 2006 by layer FootbaG Link to comment Share on other sites More sharing options...
evilertoaster Posted August 24, 2006 Share Posted August 24, 2006 can you simply have the client send it's IP as data? Link to comment Share on other sites More sharing options...
layer Posted August 24, 2006 Author Share Posted August 24, 2006 can you simply have the client send it's IP as data?man, thats a good idea..but i was thinking, i guess a reason for udp is speed cause it doesnt have to check if everything was sent successfully, and its mainly used for things like sending voice, and game packets i think.. which always dont need to be assured delivery and usually doesnt need the ip..thanks though ! (if i do need to get the ip, i will use your idea however, so thanks ) FootbaG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now