Hi,

I need to make a VB app that listens on UDP port 25300.
I need to output the remote IP if anyone sends '\' to my server.

The reason for this is..
when anyone send the string '\' to my server, my game will crash.
I would like to know who is keeping sending \ to my server so it crashes.. so I need to somehow make a logger that logs their IP when someone sends \ to my server.

What I have now is basicly this...

I have made a Winsock component, and added it to my form with UDP protocol.

I have made a Text1.Text and a button named 'Start'.

The code I have is something like:

Cmd_click()
Winsock1.RemotePort = 25300
Winsock1.Listen
Winsock1.GetData Text1.Text


Okey, now this dont even work correctly..
And I don't know how to specify to only log when someone is sending \

Can anyone help me with this?

Greatly apprecciated!!
Thanks!