memnon Posted November 3, 2005 Posted November 3, 2005 am i stupid or why isnt that working... i have a firewall and its configurated to send syslog messages to my computer (192.168.1.1) - but i do not get any msg... i configurad, that i should get messages for any action on the router - on the consolescreen of the router itself - it does spamm the messages, but not on my pc... i just modified the script in the helpfile (beta ....84) ;;This is the UDP Server ;;Start this first ; Start The UDP Services ;============================================== UDPStartup() ; Bind to a SOCKET ;============================================== $socket = UDPBind("192.168.1.1", 514) If @error <> 0 Then Exit While 1 $data = UDPRecv($socket, 100) If $data <> "" Then MsgBox(0, "UDP DATA", $data, 1) EndIf sleep(100) WEnd Func OnAutoItExit() UDPCloseSocket($socket) UDPShutdown() EndFunc das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?
memnon Posted November 21, 2005 Author Posted November 21, 2005 last try to remember .... das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?
DemonAngel Posted January 21, 2006 Posted January 21, 2006 I have tested your code and it works fine for me. 2 things that you might want to keep in mind. 1. The IP address in UDP bind must be your computers address and not your router. 2. If you are running a local firewall on your computer, allow port 514.
ChrisL Posted January 21, 2006 Posted January 21, 2006 (edited) I did this script http://www.autoitscript.com/forum/index.php?showtopic=20525 to look for error messgaes that appear on one screen and send them to another PC, if you use it along with radmin you can also make it launch a remote control session. you can look for specific error screens or you can be quite generic and get all thet start with Error, Err,Er or what ever you wantEdit* wish I could type Edited January 21, 2006 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
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