Joboy2k Posted November 14, 2010 Share Posted November 14, 2010 (edited) hey, i cant understand why this isnt working. it works fine on my other computer. this is what im planning on doing. im making a messneger between my pc and my laptop. its just a simple way of setting up downloads and starting programs on my other computer from my latop. this is the client side for my laptop Global $Broadcast = StringLeft(@IPAddress1, StringInStr(@IPAddress1, ".", 0, 3)) & "255" Global $port = 7892 ;start main function _main() Func _main() UDPStartup() $rsock = UDPBind($Broadcast, $port) If @error <> 0 Then msgbox(0,0,"error here!") Exit EndIf endfunc now this works on my pc but just wont work on my laptop but i can run the server side of this on the laptop which binds the exact same ip and port. it has worked for about 3 days then decided to stop working. anyone know why? sorry if its something stupid. Edited November 14, 2010 by joboy2k Link to comment Share on other sites More sharing options...
MvGulik Posted November 14, 2010 Share Posted November 14, 2010 it has worked for about 3 days then decided to stop working. anyone know why?Sure. Something has changed in those 3 days that has effected your script/program(S) from working as expected.- source code. (you, or someone else, edited it before recompiling a new version.)- OS. (some program changed something, this usually can happens when installing or deinstalling a application.)- network. (some change in your router/hub/..., network config, new or removed network client change.)- hardware. (some element is starting to lean to completely failing on you.) "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
Developers Jos Posted November 14, 2010 Developers Share Posted November 14, 2010 Firewall settings on the pc running the server code? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Joboy2k Posted November 14, 2010 Author Share Posted November 14, 2010 i found out the problem. $rsock = UDPBind($Broadcast, $port) should be $rsock = UDPBind(@ipaddress1, $port) sorry about wasting your time 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