I'm trying to create UDP server...
When I run my perl script it has one IP address, but when I create UDP_socket and bind() it to INADDR_ANY it get binded to another IP address.
How can I detect to which address it is binded?
socket(Server, PF_INET, SOCK_DGRAM, $proto) or DebugOut("Error in socket(): $!\n");
bind(Server, sockaddr_in($serverPort, INADDR_ANY)) or zDebugOut("error bind");
Email validation in proper way is very important validation required in any web pages.
This code is self explainable except that Regular Expression which I used for pattern matching.
I originally published as a thread on my website : http://www…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface. I made a script to download the Alert Log, look for errors, and email me the trace files. In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions.
Consider email address RFCs:
Look at HTML5 form input element (with type=email) regex pattern: