Jump to content
Sign in to follow this  
Fabry

Can I know the source of a UDP packet?

Recommended Posts

Fabry

Using TCP I can know who connect to me with SocketToIp() function.

Is there a function as tcp return the ip source of a packet received?

Excuse me for my English.


A lan chat (Multilanguage)LanMuleFile transferTank gameTank 2 an online game[center]L'esperienza è il nome che tutti danno ai propri errori.Experience is the name everyone gives to their mistakes.Oscar Wilde[/center]

Share this post


Link to post
Share on other sites
newcomer11

Hi, i see this code, may be it help you :

$sSock = TCPAccept ($sock)
$ip = SocketToIP($sSock)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×