elmwood Posted February 15, 2010 Share Posted February 15, 2010 I have different variables that I would like to include as string data to be sent to the connected UDP socket using the UPDSend function. The problem is that I would like to send commands such as UDPSend = ($socket, "Init") and if I try to use the string variable $init_string = " ""Init"" " the function doesn't accept the input. How can I achieve having a variable equal to Init and including that into the UDPSend function as "Init" without having to actually type "Init" into the UDPSend function? Help appreciated. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now